Skip to content

Commit

Permalink
Merge pull request #116 from frappe/mergify/copy/poc-staging/pr-115
Browse files Browse the repository at this point in the history
feat: Setting to determine disbursement start (copy #115)
  • Loading branch information
deepeshgarg007 authored Oct 26, 2023
2 parents cd5c5ad + 7a27908 commit bc8bb44
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions lending/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
"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",
Expand Down
2 changes: 1 addition & 1 deletion lending/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ execute:frappe.rename_doc("DocType", "Loan Security Unpledge", "Loan Security Re
[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()

0 comments on commit bc8bb44

Please sign in to comment.