Merge branch 'develop' of https://github.com/frappe/erpnext into loan_patch_and_fixes

This commit is contained in:
Deepesh Garg
2020-05-17 23:37:05 +05:30
112 changed files with 2200 additions and 2542 deletions

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)