fix: fieldname in filter

This commit is contained in:
Deepesh Garg 2020-08-02 18:23:54 +05:30
parent d909669a18
commit 4104887abb

View File

@ -52,7 +52,7 @@ def check_for_ltv_shortfall(process_loan_security_shortfall):
}, as_list=1))
loans = frappe.get_all('Loan', fields=['name', 'loan_amount', 'total_principal_paid'],
filters={'status': 'Disbursed', 'is_secured': 1})
filters={'status': 'Disbursed', 'is_secured_loan': 1})
loan_security_map = {}