fix: Change Error Message in Work Order
This commit is contained in:
parent
ce39323a0a
commit
3aedeb642f
@ -434,7 +434,7 @@ class WorkOrder(Document):
|
|||||||
elif flt(d.completed_qty) <= max_allowed_qty_for_wo:
|
elif flt(d.completed_qty) <= max_allowed_qty_for_wo:
|
||||||
d.status = "Completed"
|
d.status = "Completed"
|
||||||
else:
|
else:
|
||||||
frappe.throw(_("Completed Qty can not be greater than 'Qty to Manufacture'"))
|
frappe.throw(_("Completed Qty cannot be greater than 'Qty to Manufacture'"))
|
||||||
|
|
||||||
def set_actual_dates(self):
|
def set_actual_dates(self):
|
||||||
if self.get("operations"):
|
if self.get("operations"):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user