mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Update ledger line order to have the on top
This commit is contained in:
parent
5c6047c873
commit
f49827058d
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue