diff --git a/erpnext/patches.txt b/erpnext/patches.txt index dc056635ed..b3b9bc60b7 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -331,6 +331,6 @@ execute:frappe.delete_doc('DocType', 'Cash Flow Mapper', ignore_missing=True) execute:frappe.delete_doc('DocType', 'Cash Flow Mapping Template', ignore_missing=True) execute:frappe.delete_doc('DocType', 'Cash Flow Mapping Accounts', ignore_missing=True) erpnext.patches.v14_0.cleanup_workspaces -erpnext.patches.v15_0.remove_loan_management_module +erpnext.patches.v15_0.remove_loan_management_module #2023-07-03 erpnext.patches.v14_0.set_report_in_process_SOA erpnext.buying.doctype.supplier.patches.migrate_supplier_portal_users \ No newline at end of file diff --git a/erpnext/patches/v15_0/remove_loan_management_module.py b/erpnext/patches/v15_0/remove_loan_management_module.py index 6f08c361ba..8242f9cce5 100644 --- a/erpnext/patches/v15_0/remove_loan_management_module.py +++ b/erpnext/patches/v15_0/remove_loan_management_module.py @@ -7,7 +7,7 @@ def execute(): frappe.delete_doc("Module Def", "Loan Management", ignore_missing=True, force=True) - frappe.delete_doc("Workspace", "Loan Management", ignore_missing=True, force=True) + frappe.delete_doc("Workspace", "Loans", ignore_missing=True, force=True) print_formats = frappe.get_all( "Print Format", {"module": "Loan Management", "standard": "Yes"}, pluck="name"