mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-09 09:55:08 +00:00
This commit is contained in:
@@ -203,7 +203,9 @@ class BOMCreator(Document):
|
||||
self,
|
||||
)
|
||||
else:
|
||||
row.rate = flt(self.get_raw_material_cost(row.item_code) * row.conversion_factor)
|
||||
row.rate = flt(
|
||||
self.get_raw_material_cost(row.item_code) / flt(row.qty or 1) * row.conversion_factor
|
||||
)
|
||||
|
||||
row.amount = flt(row.rate) * flt(row.qty)
|
||||
amount += flt(row.amount)
|
||||
|
||||
Reference in New Issue
Block a user