Skip to content

Commit

Permalink
chore: Move rename to pre sync
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Oct 19, 2023
1 parent 0a5ca09 commit 8dfe196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lending/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ lending.patches.v15_0.generate_loan_repayment_schedule
lending.patches.v15_0.rename_process_asset_classification_doctype
lending.patches.v15_0.rename_process_asset_classification_doctype_2
lending.patches.v15_0.rename_loan_type_to_loan_product
execute:frappe.rename_doc("DocType", "Loan Security Pledge", "Loan Security Assignment", force=True)
execute:frappe.rename_doc("DocType", "Loan Security Unpledge", "Loan Security Release", force=True)

[post_model_sync]
# Patches added in this section will be executed after doctypes are migrated
Expand All @@ -26,6 +28,4 @@ lending.patches.v15_0.rename_loan_partner_charge_type
lending.patches.v15_0.migrate_loan_type_to_loan_product
lending.patches.v15_0.add_loan_product_code_and_rename_loan_name
lending.patches.v15_0.update_penalty_interest_method_in_loan_products
lending.patches.v15_0.update_min_bpi_application_days
execute:frappe.rename_doc("DocType", "Loan Security Pledge", "Loan Security Assignment", force=True)
execute:frappe.rename_doc("DocType", "Loan Security Unpledge", "Loan Security Release", force=True)
lending.patches.v15_0.update_min_bpi_application_days

0 comments on commit 8dfe196

Please sign in to comment.