mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
[fix] gross profit
This commit is contained in:
@@ -98,6 +98,7 @@ class GrossProfitGenerator(object):
|
|||||||
|
|
||||||
row.base_amount = flt(row.base_net_amount)
|
row.base_amount = flt(row.base_net_amount)
|
||||||
|
|
||||||
|
product_bundles = []
|
||||||
if row.update_stock:
|
if row.update_stock:
|
||||||
product_bundles = self.product_bundles.get(row.parenttype, {}).get(row.parent, frappe._dict())
|
product_bundles = self.product_bundles.get(row.parenttype, {}).get(row.parent, frappe._dict())
|
||||||
elif row.dn_detail:
|
elif row.dn_detail:
|
||||||
|
|||||||
Reference in New Issue
Block a user