fix: Typo in stock level validation in Stock Ledger
This commit is contained in:
parent
a19aa0431a
commit
6f0dc8257c
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user