diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 95b27af35d5..f6b48bea3ed 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -471,4 +471,5 @@ erpnext.patches.v16_0.update_order_qty_and_requested_qty_based_on_mr_and_po erpnext.patches.v16_0.complete_onboarding_steps_for_older_sites #2 erpnext.patches.v16_0.enable_serial_batch_setting erpnext.patches.v16_0.co_by_product_patch -erpnext.patches.v16_0.update_requested_qty_packed_item \ No newline at end of file +erpnext.patches.v16_0.update_requested_qty_packed_item +erpnext.patches.v16_0.remove_payables_receivables_workspace \ No newline at end of file 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..74c6e3ce3c7 --- /dev/null +++ b/erpnext/patches/v16_0/remove_payables_receivables_workspace.py @@ -0,0 +1,6 @@ +import frappe + + +def execute(): + for ws in ["Receivables", "Payables"]: + frappe.delete_doc_if_exists("Workspace", ws)