fix: Return loan type name

This commit is contained in:
Deepesh Garg 2020-11-11 12:57:16 +05:30
parent 13d1dda74b
commit 0dc052e635

View File

@ -125,3 +125,5 @@ def create_loan_type(loan, loan_type_name, penalty_account):
loan_type_doc.interest_income_account = loan.interest_income_account loan_type_doc.interest_income_account = loan.interest_income_account
loan_type_doc.penalty_income_account = penalty_account loan_type_doc.penalty_income_account = penalty_account
loan_type_doc.submit() loan_type_doc.submit()
return loan_type_name