mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 06:28:29 +00:00
typo in error message in loan_security_pledge.py
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user