From ba1cca6b2d77435975481e03d8190fc7bdcad994 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Sat, 24 Oct 2020 22:00:32 +0530 Subject: [PATCH] fix: Show accounts in financial statements upto level 20 (#23718) --- 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 1b65a318b6..7dfce85629 100644 --- a/erpnext/accounts/report/financial_statements.py +++ b/erpnext/accounts/report/financial_statements.py @@ -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) -def filter_accounts(accounts, depth=10): +def filter_accounts(accounts, depth=20): parent_children_map = {} accounts_by_name = {} for d in accounts: