Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Setting to determine disbursement start #115

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lending/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,17 @@
"insert_after": "interest_day_count_convention",
"non_negative": 1,
},
{
"fieldname": "begin_interest_accrual_from",
"label": "Begin Interest Accrual From",
"fieldtype": "Select",
"options": "Disbursement Initiated\nPayment Debited From Bank",
"insert_after": "min_days_bw_disbursement_first_repayment",
},
{
"fieldname": "loan_column_break",
"fieldtype": "Column Break",
"insert_after": "min_days_bw_disbursement_first_repayment",
"insert_after": "begin_interest_accrual_from",
},
{
"fieldname": "collection_offset_logic_based_on",
Expand Down
2 changes: 1 addition & 1 deletion lending/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ lending.patches.v15_0.rename_loan_type_to_loan_product
[post_model_sync]
# Patches added in this section will be executed after doctypes are migrated
lending.patches.v15_0.update_loan_types
lending.patches.v15_0.create_custom_fields #9
lending.patches.v15_0.create_custom_fields #10
lending.patches.v15_0.create_custom_field_for_irac_provisioning_configuration
lending.patches.v15_0.update_loan_asset_classification_ranges
lending.patches.v15_0.generate_loan_classifications_from_loan_asset_classification_ranges
Expand Down
4 changes: 2 additions & 2 deletions lending/patches/v15_0/create_custom_fields.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from lending.install import after_install
from lending.install import create_custom_fields


def execute():
after_install()
create_custom_fields()
Loading