Fix: Spelling correction in throw message of stock entry(#20337) (#20353)

This commit is contained in:
byugandhara 2020-01-21 15:47:27 +05:30 committed by Nabin Hait
parent 5056c8bcb4
commit 239f0d529e

View File

@ -614,7 +614,7 @@ class StockEntry(StockController):
if self.work_order and self.purpose == "Manufacture":
allowed_qty = wo_qty + (allowance_percentage/100 * wo_qty)
if self.fg_completed_qty > allowed_qty:
frappe.throw(_("For quantity {0} should not be grater than work order quantity {1}")
frappe.throw(_("For quantity {0} should not be greater than work order quantity {1}")
.format(flt(self.fg_completed_qty), wo_qty))
if production_item not in items_with_target_warehouse: