Merge pull request #21702 from abhishekbalam/error_msg_typo

fix: typo in error message in loan_security_pledge.py
This commit is contained in:
Deepesh Garg 2020-05-12 19:11:42 +05:30 committed by GitHub
commit e9cc9f99d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)