diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 40ff506d3e8..4b1fc449473 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -471,3 +471,4 @@ erpnext.patches.v16_0.migrate_asset_type_checkboxes_to_select erpnext.patches.v16_0.update_order_qty_and_requested_qty_based_on_mr_and_po erpnext.patches.v16_0.enable_serial_batch_setting erpnext.patches.v16_0.update_requested_qty_packed_item +erpnext.patches.v16_0.remove_payables_receivables_workspace diff --git a/erpnext/patches/v16_0/remove_payables_receivables_workspace.py b/erpnext/patches/v16_0/remove_payables_receivables_workspace.py new file mode 100644 index 00000000000..bd1bd96fe77 --- /dev/null +++ b/erpnext/patches/v16_0/remove_payables_receivables_workspace.py @@ -0,0 +1,7 @@ +import frappe + + +def execute(): + for ws in ["Receivables", "Payables"]: + frappe.delete_doc_if_exists("Workspace Sidebar", ws) + frappe.delete_doc_if_exists("Workspace", ws)