Merge pull request #32351 from frappe/mergify/bp/version-14-hotfix/pr-32310

fix: total value in all keys (backport #32310)
This commit is contained in:
ruthra kumar
2022-09-26 12:05:20 +05:30
committed by GitHub

View File

@@ -155,7 +155,6 @@ def adjust_account(data, period_list, consolidated=False):
for d in data:
for period in period_list:
key = period if consolidated else period.key
d[key] = totals[d["account"]]
d["total"] = totals[d["account"]]
return data