Merge pull request #21135 from marination/stock-ledger-typo

fix: Typo in stock level validation in Stock Ledger
This commit is contained in:
Deepesh Garg 2020-04-01 11:20:32 +05:30 committed by GitHub
commit 94a505d31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)