mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
This commit is contained in:
@@ -614,7 +614,7 @@ class StockEntry(StockController):
|
|||||||
if self.work_order and self.purpose == "Manufacture":
|
if self.work_order and self.purpose == "Manufacture":
|
||||||
allowed_qty = wo_qty + (allowance_percentage/100 * wo_qty)
|
allowed_qty = wo_qty + (allowance_percentage/100 * wo_qty)
|
||||||
if self.fg_completed_qty > allowed_qty:
|
if self.fg_completed_qty > allowed_qty:
|
||||||
frappe.throw(_("For quantity {0} should not be grater than work order quantity {1}")
|
frappe.throw(_("For quantity {0} should not be greater than work order quantity {1}")
|
||||||
.format(flt(self.fg_completed_qty), wo_qty))
|
.format(flt(self.fg_completed_qty), wo_qty))
|
||||||
|
|
||||||
if production_item not in items_with_target_warehouse:
|
if production_item not in items_with_target_warehouse:
|
||||||
|
|||||||
Reference in New Issue
Block a user