refactor: rename loan type to loan product in lending (#37325)
refactor: rename loan type to loan product
This commit is contained in:
parent
3c1f93215a
commit
087f378a4f
@ -35,13 +35,13 @@ class TestBankClearance(unittest.TestCase):
|
|||||||
from lending.loan_management.doctype.loan.test_loan import (
|
from lending.loan_management.doctype.loan.test_loan import (
|
||||||
create_loan,
|
create_loan,
|
||||||
create_loan_accounts,
|
create_loan_accounts,
|
||||||
create_loan_type,
|
create_loan_product,
|
||||||
create_repayment_entry,
|
create_repayment_entry,
|
||||||
make_loan_disbursement_entry,
|
make_loan_disbursement_entry,
|
||||||
)
|
)
|
||||||
|
|
||||||
def create_loan_masters():
|
def create_loan_masters():
|
||||||
create_loan_type(
|
create_loan_product(
|
||||||
"Clearance Loan",
|
"Clearance Loan",
|
||||||
2000000,
|
2000000,
|
||||||
13.5,
|
13.5,
|
||||||
|
|||||||
@ -410,7 +410,7 @@ def add_vouchers():
|
|||||||
def create_loan_and_repayment():
|
def create_loan_and_repayment():
|
||||||
from lending.loan_management.doctype.loan.test_loan import (
|
from lending.loan_management.doctype.loan.test_loan import (
|
||||||
create_loan,
|
create_loan,
|
||||||
create_loan_type,
|
create_loan_product,
|
||||||
create_repayment_entry,
|
create_repayment_entry,
|
||||||
make_loan_disbursement_entry,
|
make_loan_disbursement_entry,
|
||||||
)
|
)
|
||||||
@ -420,7 +420,7 @@ def create_loan_and_repayment():
|
|||||||
|
|
||||||
from erpnext.setup.doctype.employee.test_employee import make_employee
|
from erpnext.setup.doctype.employee.test_employee import make_employee
|
||||||
|
|
||||||
create_loan_type(
|
create_loan_product(
|
||||||
"Personal Loan",
|
"Personal Loan",
|
||||||
500000,
|
500000,
|
||||||
8.4,
|
8.4,
|
||||||
@ -441,7 +441,7 @@ def create_loan_and_repayment():
|
|||||||
"applicant_type": "Employee",
|
"applicant_type": "Employee",
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
"applicant": applicant,
|
"applicant": applicant,
|
||||||
"loan_type": "Personal Loan",
|
"loan_product": "Personal Loan",
|
||||||
"loan_amount": 5000,
|
"loan_amount": 5000,
|
||||||
"repayment_method": "Repay Fixed Amount per Period",
|
"repayment_method": "Repay Fixed Amount per Period",
|
||||||
"monthly_repayment_amount": 500,
|
"monthly_repayment_amount": 500,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user