mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Merge pull request #21136 from marination/stock-ledger-typo-hotfix
fix: Typo in stock level validation in Stock Ledger
This commit is contained in:
@@ -428,7 +428,7 @@ class update_entries_after(object):
|
|||||||
frappe.get_desk_link(self.exceptions[0]["voucher_type"], self.exceptions[0]["voucher_no"]))
|
frappe.get_desk_link(self.exceptions[0]["voucher_type"], self.exceptions[0]["voucher_no"]))
|
||||||
|
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
frappe.throw(msg, NegativeStockError, title='Insufficent Stock')
|
frappe.throw(msg, NegativeStockError, title='Insufficient Stock')
|
||||||
else:
|
else:
|
||||||
raise NegativeStockError(msg)
|
raise NegativeStockError(msg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user