Merge pull request #23937 from deepeshgarg007/loan_application_link

fix: Loan application link on creating loan
This commit is contained in:
Deepesh Garg
2020-11-17 22:01:31 +05:30
committed by GitHub

View File

@@ -127,6 +127,7 @@ def create_loan(source_name, target_doc=None, submit=0):
target_doc.loan_account = account_details.loan_account
target_doc.interest_income_account = account_details.interest_income_account
target_doc.penalty_income_account = account_details.penalty_income_account
target_doc.loan_application = source_name
doclist = get_mapped_doc("Loan Application", source_name, {