mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
Stock Entry: get fg item incoming rate if bom is mentioned
This commit is contained in:
@@ -228,7 +228,7 @@ class StockEntry(StockController):
|
||||
raw_material_cost += flt(d.amount)
|
||||
|
||||
# set incoming rate for fg item
|
||||
if self.production_order and self.purpose == "Manufacture/Repack":
|
||||
if self.purpose == "Manufacture/Repack":
|
||||
for d in self.get("mtn_details"):
|
||||
if d.bom_no:
|
||||
if not flt(d.incoming_rate):
|
||||
|
||||
Reference in New Issue
Block a user