commit | 7296a75b1f214ee15ad97a0bf5ed7d3e39768029 | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Tue Sep 08 09:56:18 2020 +0530 |
committer | GitHub <noreply@github.com> | Tue Sep 08 09:56:18 2020 +0530 |
tree | 015f79decebcdff4269fdea9088ea556afce557d | |
parent | b828e2fcf4131f6127f76e4c1715c24014b3dc6b [diff] | |
parent | 5b381ac5b782030d0bc9aff0777c27d440efa199 [diff] |
Merge pull request #23288 from barry86m/patch-4 fix: consolidated financial statement sums values into wrong parent
diff --git a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py index 219871b..d011689 100644 --- a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py +++ b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py
@@ -256,7 +256,7 @@ """accumulate children's values in parent accounts""" for d in reversed(accounts): if d.parent_account: - account = d.parent_account.split('-')[0].strip() + account = d.parent_account.split(' - ')[0].strip() if not accounts_by_name.get(account): continue