fix: Replace 'parent' with 'invoice_or_item' (#28513)

This commit is contained in:
Ganga Manoj 2021-11-23 12:28:41 +05:30 committed by GitHub
parent 1909bb569e
commit 5ef2330022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ class GrossProfitGenerator(object):
if self.filters.get("group_by") == "Invoice":
self.totals.indent = 0.0
self.totals.parent_invoice = ""
self.totals.parent = "Total"
self.totals.invoice_or_item = "Total"
self.si_list.append(self.totals)
else:
self.grouped_data.append(self.totals)