typo in error message in loan_security_pledge.py
This commit is contained in:
parent
58f02e7c10
commit
673e704bb5
@ -38,7 +38,7 @@ class LoanSecurityPledge(Document):
|
|||||||
for pledge in self.securities:
|
for pledge in self.securities:
|
||||||
|
|
||||||
if not pledge.qty and not pledge.amount:
|
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):
|
if not (self.loan_application and pledge.loan_security_price):
|
||||||
pledge.loan_security_price = get_loan_security_price(pledge.loan_security)
|
pledge.loan_security_price = get_loan_security_price(pledge.loan_security)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user