fix: total value in all keys
Gross and net profit report showing wrong values in monthly quarterly and half yearly filters which is the total value @ruthra-kumar added in develop branch as suggested ( https://github.com/frappe/erpnext/pull/32020)
This commit is contained in:
parent
07f87b9147
commit
6919f389aa
@ -155,7 +155,6 @@ def adjust_account(data, period_list, consolidated=False):
|
|||||||
for d in data:
|
for d in data:
|
||||||
for period in period_list:
|
for period in period_list:
|
||||||
key = period if consolidated else period.key
|
key = period if consolidated else period.key
|
||||||
d[key] = totals[d["account"]]
|
|
||||||
d["total"] = totals[d["account"]]
|
d["total"] = totals[d["account"]]
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user