fix: Typo in stock level validation in Stock Ledger

This commit is contained in:
marination 2020-04-01 11:04:14 +05:30
parent a19aa0431a
commit 6f0dc8257c

View File

@ -428,7 +428,7 @@ class update_entries_after(object):
frappe.get_desk_link(self.exceptions[0]["voucher_type"], self.exceptions[0]["voucher_no"]))
if self.verbose:
frappe.throw(msg, NegativeStockError, title='Insufficent Stock')
frappe.throw(msg, NegativeStockError, title='Insufficient Stock')
else:
raise NegativeStockError(msg)