Merge pull request #23450 from michellealva/jc

fix: Change Error Message in Work Order
This commit is contained in:
Rushabh Mehta
2020-10-12 15:07:21 +05:30
committed by GitHub

View File

@@ -434,7 +434,7 @@ class WorkOrder(Document):
elif flt(d.completed_qty) <= max_allowed_qty_for_wo:
d.status = "Completed"
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):
if self.get("operations"):