Update ledger line order to have the on top

This commit is contained in:
Bernat Brunet Torruella 2017-07-10 14:42:58 +02:00
parent 5c6047c873
commit f49827058d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ diff -r 62f81d7eb78b account.py
def __setup__(cls):
super(GeneralLedgerLine, cls).__setup__()
- cls._order.insert(0, ('date', 'ASC'))
+ cls._order.insert(0, ('date', 'DESC'))
+ cls._order = [('date', 'DESC'), ('id', 'DESC')]
@classmethod
def table_query(cls):