fix: Show accounts in financial statements upto level 20 (#23718)
This commit is contained in:
parent
8be296b343
commit
ba1cca6b2d
@ -307,7 +307,7 @@ def get_accounts(company, root_type):
|
|||||||
where company=%s and root_type=%s order by lft""", (company, root_type), as_dict=True)
|
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 = {}
|
parent_children_map = {}
|
||||||
accounts_by_name = {}
|
accounts_by_name = {}
|
||||||
for d in accounts:
|
for d in accounts:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user