Skip to content

Commit

Permalink
fix: `
Browse files Browse the repository at this point in the history
Insufficient Stock` error msg
  • Loading branch information
s-aga-r committed Sep 1, 2023
1 parent 9963800 commit b8747eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/stock_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ def raise_exceptions(self):
if msg:
if self.reserved_stock:
allowed_qty = abs(exceptions[0]["actual_qty"]) - abs(exceptions[0]["diff"])
msg = "{0} As {1} units are reserved, you are allowed to consume only {2} units.".format(
msg = "{0} As {1} units are reserved for other sales orders, you are allowed to consume only {2} units.".format(
msg, frappe.bold(self.reserved_stock), frappe.bold(allowed_qty)
)

Expand Down

0 comments on commit b8747eb

Please sign in to comment.