adamcharnock / django-hordak

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

Admin improvements #37

Closed PetrDlouhy closed 4 years ago

PetrDlouhy commented 5 years ago

Few improvements to the admin interface

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 95.483% when pulling 2e86cb8f0e3e7f8461f773ca4ad20830aa31f34b on PetrDlouhy:admin_improvements into 0ffcad1d3b388b860c8c47fde12aa40df213066f on adamcharnock:master.

PetrDlouhy commented 4 years ago

I have made even more improvements to the admin interface - sorting by balance and other columns.

The tests are not passing because django-mptt dropped support of Python 3.4 - same test didn't pass on the master branch.

adamcharnock commented 4 years ago

Excellent, thank you @PetrDlouhy. Merging, sorry it took so long.

adamcharnock commented 4 years ago

Released in 1.9.0.

PetrDlouhy commented 4 years ago

I just realized, that the sorting by columns through admin_order_fields doesn't work, because the MPTTAdmin. I use it with classical admin, because I don't have much tree structure in accounts. I don't know, how to solve this with MPTTAdmin.