fix: Change Error Message in Work Order

This commit is contained in:
michellealva 2020-09-29 12:54:55 +05:30
parent ce39323a0a
commit 3aedeb642f

View File

@ -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"):