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
commit 2bef986f14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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