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,7 +176,8 @@ def accumulate_values_into_parents(accounts, accounts_by_name):
|
|||||||
def prepare_data(accounts, filters, total_row, parent_children_map, company_currency):
|
def prepare_data(accounts, filters, total_row, parent_children_map, company_currency):
|
||||||
data = []
|
data = []
|
||||||
tmpaccnt = sorted(accounts)
|
tmpaccnt = sorted(accounts)
|
||||||
accounts = tmpaccnt
|
if accounts[0].account_name[0].isnumeric():
|
||||||
|
accounts = tmpaccnt
|
||||||
|
|
||||||
for d in accounts:
|
for d in accounts:
|
||||||
has_value = False
|
has_value = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user