Merge pull request #32310 from nishibakabeer/patch-4

fix: total value in all keys
This commit is contained in:
ruthra kumar 2022-09-26 11:27:47 +05:30 committed by GitHub
commit 8b21d27f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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