fix: delete loan module workspace properly after separation (#35971)

* fix: delete loan module workspace properly after separation

* chore: run remove_loan_management_module patch again
This commit is contained in:
Anand Baburajan 2023-07-03 13:06:46 +05:30 committed by GitHub
parent 5448859254
commit dedb5e23f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"