Skip to content

Commit

Permalink
fix: For Quantity error msg in Stock Entry
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Sep 27, 2022
1 parent 106ee1b commit 9049db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/stock/doctype/stock_entry/stock_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,8 @@ def validate_finished_goods(self):
# 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
)
)

Expand Down

0 comments on commit 9049db4

Please sign in to comment.