mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Update trial_balance.py
Fix to order only if account starts with Number ... while for others not required....
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user