fix: For Quantity error msg in Stock Entry

This commit is contained in:
Sagar Sharma 2022-09-27 12:00:50 +05:30
parent 106ee1bf4d
commit 9049db41ae

View File

@ -1073,8 +1073,8 @@ class StockEntry(StockController):
# No work order could mean independent Manufacture entry, if so skip validation # No work order could mean independent Manufacture entry, if so skip validation
if self.work_order and self.fg_completed_qty > allowed_qty: if self.work_order and self.fg_completed_qty > allowed_qty:
frappe.throw( frappe.throw(
_("For quantity {0} should not be greater than work order quantity {1}").format( _("For quantity {0} should not be greater than allowed quantity {1}").format(
flt(self.fg_completed_qty), wo_qty flt(self.fg_completed_qty), allowed_qty
) )
) )