From 8dfe19662fa2f7a6ae254ba84b90d48a568d757d Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Thu, 19 Oct 2023 17:42:37 +0530 Subject: [PATCH] chore: Move rename to pre sync --- lending/patches.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lending/patches.txt b/lending/patches.txt index db7dd9ed..25da16d1 100644 --- a/lending/patches.txt +++ b/lending/patches.txt @@ -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 @@ -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) \ No newline at end of file +lending.patches.v15_0.update_min_bpi_application_days \ No newline at end of file