fix: Show accounts in financial statements upto level 20 (#23719)

This commit is contained in:
Nabin Hait
2020-10-24 22:00:17 +05:30
committed by GitHub
parent a76b1c530d
commit 439c4e11bf

View File

@@ -294,7 +294,7 @@ def get_accounts(company, root_type):
where company=%s and root_type=%s order by lft""", (company, root_type), as_dict=True)
def filter_accounts(accounts, depth=10):
def filter_accounts(accounts, depth=20):
parent_children_map = {}
accounts_by_name = {}
for d in accounts: