adamcharnock / django-hordak

Double entry accounting in Django
http://django-hordak.readthedocs.io
MIT License
228 stars 55 forks source link

experimental: report more info on check_leg() #93

Closed PetrDlouhy closed 1 week ago

PetrDlouhy commented 1 year ago

This is small modification of the check_leg() triggere function that would give more information about the failed transaction.

This would need to be rewritten to support more legged transactions and it also would somehow need to be integrated with already migrated projects (either by new migration or management command).

adamcharnock commented 1 week ago

I've added this as a TODO comment to 0006_auto_20161209_0108.py (2.0.0 branch). We can pick it up the next time we need to make a change to the check_leg() function.

If it becomes more urgent in the meantime then we can just create a migration solely for that purpose.