Removed BOM No from mandatory from Stock Entry against Production Order

This commit is contained in:
Nabin Hait 2015-06-11 16:50:28 +05:30
parent 381a9377d9
commit 5c7557914b

View File

@ -185,9 +185,6 @@ class StockEntry(StockController):
def validate_production_order(self):
if self.purpose in ("Manufacture", "Material Transfer for Manufacture"):
if not self.bom_no:
frappe.throw(_("BOM No is mandatory"))
# check if production order is entered
if not self.production_order:
frappe.throw(_("Production order number is mandatory for stock entry purpose manufacture"))