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:
parent
5448859254
commit
dedb5e23f7
@ -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 Template', ignore_missing=True)
|
||||||
execute:frappe.delete_doc('DocType', 'Cash Flow Mapping Accounts', ignore_missing=True)
|
execute:frappe.delete_doc('DocType', 'Cash Flow Mapping Accounts', ignore_missing=True)
|
||||||
erpnext.patches.v14_0.cleanup_workspaces
|
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.patches.v14_0.set_report_in_process_SOA
|
||||||
erpnext.buying.doctype.supplier.patches.migrate_supplier_portal_users
|
erpnext.buying.doctype.supplier.patches.migrate_supplier_portal_users
|
||||||
@ -7,7 +7,7 @@ def execute():
|
|||||||
|
|
||||||
frappe.delete_doc("Module Def", "Loan Management", ignore_missing=True, force=True)
|
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_formats = frappe.get_all(
|
||||||
"Print Format", {"module": "Loan Management", "standard": "Yes"}, pluck="name"
|
"Print Format", {"module": "Loan Management", "standard": "Yes"}, pluck="name"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user