Update trial_balance.py
Fix to order only if account starts with Number ... while for others not required....
This commit is contained in:
parent
441032d39c
commit
b258686b00
@ -176,6 +176,7 @@ def accumulate_values_into_parents(accounts, accounts_by_name):
|
||||
def prepare_data(accounts, filters, total_row, parent_children_map, company_currency):
|
||||
data = []
|
||||
tmpaccnt = sorted(accounts)
|
||||
if accounts[0].account_name[0].isnumeric():
|
||||
accounts = tmpaccnt
|
||||
|
||||
for d in accounts:
|
||||
|
Loading…
x
Reference in New Issue
Block a user