fix: For Quantity error msg in Stock Entry
(cherry picked from commit 9049db41ae)
This commit is contained in:
@@ -1073,8 +1073,8 @@ class StockEntry(StockController):
|
||||
# No work order could mean independent Manufacture entry, if so skip validation
|
||||
if self.work_order and self.fg_completed_qty > allowed_qty:
|
||||
frappe.throw(
|
||||
_("For quantity {0} should not be greater than work order quantity {1}").format(
|
||||
flt(self.fg_completed_qty), wo_qty
|
||||
_("For quantity {0} should not be greater than allowed quantity {1}").format(
|
||||
flt(self.fg_completed_qty), allowed_qty
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user