[fix] gross profit
This commit is contained in:
parent
fe85b2ea17
commit
c5c6c0669f
@ -98,6 +98,7 @@ class GrossProfitGenerator(object):
|
||||
|
||||
row.base_amount = flt(row.base_net_amount)
|
||||
|
||||
product_bundles = []
|
||||
if row.update_stock:
|
||||
product_bundles = self.product_bundles.get(row.parenttype, {}).get(row.parent, frappe._dict())
|
||||
elif row.dn_detail:
|
||||
|
Loading…
x
Reference in New Issue
Block a user