From 2cc344cc60d385312e65ff64e226378d70916d1b Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Wed, 11 Oct 2023 09:23:59 +0530 Subject: [PATCH 1/2] fix: fetch rate of interest from Loan instead of loan product --- .../loan_management/doctype/loan_repayment/loan_repayment.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lending/loan_management/doctype/loan_repayment/loan_repayment.json b/lending/loan_management/doctype/loan_repayment/loan_repayment.json index 870d1501..1eba89f4 100644 --- a/lending/loan_management/doctype/loan_repayment/loan_repayment.json +++ b/lending/loan_management/doctype/loan_repayment/loan_repayment.json @@ -241,7 +241,6 @@ "read_only": 1 }, { - "fetch_from": "loan_product.rate_of_interest", "fieldname": "rate_of_interest", "fieldtype": "Percent", "label": "Rate Of Interest", @@ -378,7 +377,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-10-02 22:14:23.377360", + "modified": "2023-10-11 09:20:54.066665", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Repayment", From fad9842d05526bee3b88053bb83872667ae44ac0 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Wed, 11 Oct 2023 09:25:20 +0530 Subject: [PATCH 2/2] fix: fetch rate of interest from Loan instead of loan product --- .../loan_management/doctype/loan_repayment/loan_repayment.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lending/loan_management/doctype/loan_repayment/loan_repayment.json b/lending/loan_management/doctype/loan_repayment/loan_repayment.json index 1eba89f4..6b05fd82 100644 --- a/lending/loan_management/doctype/loan_repayment/loan_repayment.json +++ b/lending/loan_management/doctype/loan_repayment/loan_repayment.json @@ -241,6 +241,7 @@ "read_only": 1 }, { + "fetch_from": "against_loan.rate_of_interest", "fieldname": "rate_of_interest", "fieldtype": "Percent", "label": "Rate Of Interest", @@ -377,7 +378,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-10-11 09:20:54.066665", + "modified": "2023-10-11 09:25:15.123899", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Repayment",