fix: Replace 'parent' with 'invoice_or_item' (#28513)
This commit is contained in:
parent
1909bb569e
commit
5ef2330022
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user