From 439c4e11bfa4535710e14416a7f1674f0d451f6d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Sat, 24 Oct 2020 22:00:17 +0530 Subject: [PATCH] fix: Show accounts in financial statements upto level 20 (#23719) --- erpnext/accounts/report/financial_statements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py index 9e3f3b739c2..c0de29ac1a1 100644 --- a/erpnext/accounts/report/financial_statements.py +++ b/erpnext/accounts/report/financial_statements.py @@ -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: