Skip to content

Commit

Permalink
fix: delete loan module workspace properly after separation (#35971)
Browse files Browse the repository at this point in the history
* fix: delete loan module workspace properly after separation

* chore: run remove_loan_management_module patch again
  • Loading branch information
anandbaburajan committed Jul 3, 2023
1 parent 5448859 commit dedb5e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion erpnext/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion erpnext/patches/v15_0/remove_loan_management_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dedb5e2

Please sign in to comment.