mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 11:25:09 +00:00
fix: stop additional item (#47548)
This commit is contained in:
@@ -1613,6 +1613,9 @@ class WorkOrder(Document):
|
||||
item.delete()
|
||||
|
||||
def add_additional_items(self, stock_entry):
|
||||
if frappe.db.get_single_value("Manufacturing Settings", "validate_components_quantities_per_bom"):
|
||||
return
|
||||
|
||||
if stock_entry.purpose != "Material Transfer for Manufacture":
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user