Merge pull request #21136 from marination/stock-ledger-typo-hotfix

fix: Typo in stock level validation in Stock Ledger
This commit is contained in:
Deepesh Garg
2020-04-01 11:20:55 +05:30
committed by GitHub

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)