Skip to content

Commit

Permalink
refactor: rename loan type to loan product in lending (#37325)
Browse files Browse the repository at this point in the history
refactor: rename loan type to loan product
  • Loading branch information
anandbaburajan authored Oct 2, 2023
1 parent 3c1f932 commit 087f378
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def test_bank_clearance_with_loan(self):
from lending.loan_management.doctype.loan.test_loan import (
create_loan,
create_loan_accounts,
create_loan_type,
create_loan_product,
create_repayment_entry,
make_loan_disbursement_entry,
)

def create_loan_masters():
create_loan_type(
create_loan_product(
"Clearance Loan",
2000000,
13.5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def add_vouchers():
def create_loan_and_repayment():
from lending.loan_management.doctype.loan.test_loan import (
create_loan,
create_loan_type,
create_loan_product,
create_repayment_entry,
make_loan_disbursement_entry,
)
Expand All @@ -420,7 +420,7 @@ def create_loan_and_repayment():

from erpnext.setup.doctype.employee.test_employee import make_employee

create_loan_type(
create_loan_product(
"Personal Loan",
500000,
8.4,
Expand All @@ -441,7 +441,7 @@ def create_loan_and_repayment():
"applicant_type": "Employee",
"company": "_Test Company",
"applicant": applicant,
"loan_type": "Personal Loan",
"loan_product": "Personal Loan",
"loan_amount": 5000,
"repayment_method": "Repay Fixed Amount per Period",
"monthly_repayment_amount": 500,
Expand Down

0 comments on commit 087f378

Please sign in to comment.