typo in error message in loan_security_pledge.py

This commit is contained in:
Abhishek Balam 2020-05-12 19:09:27 +05:30
parent 58f02e7c10
commit 673e704bb5

View File

@ -38,7 +38,7 @@ class LoanSecurityPledge(Document):
for pledge in self.securities:
if not pledge.qty and not pledge.amount:
frappe.throw(_("Qty or Amount is mandatroy for loan security"))
frappe.throw(_("Qty or Amount is mandatory for loan security!"))
if not (self.loan_application and pledge.loan_security_price):
pledge.loan_security_price = get_loan_security_price(pledge.loan_security)