diff --git a/erpnext/patches/v15_0/delete_ecommerce_doctypes.py b/erpnext/patches/v15_0/delete_ecommerce_doctypes.py index 90cdde136f5707519eb9e42e27cffb8364c62377..690c1e821aaf654efd3593b347f195a95ec14961 100644 --- a/erpnext/patches/v15_0/delete_ecommerce_doctypes.py +++ b/erpnext/patches/v15_0/delete_ecommerce_doctypes.py @@ -23,6 +23,8 @@ def execute(): for doctype in doctypes: frappe.delete_doc("DocType", doctype, ignore_missing=True) + frappe.delete_doc("Workspace", "E Commerce", ignore_missing=True, force=True) + click.secho( "E-commerce features were moved to a separate app.\n" "Please install the Webshop app to continue using e-commerce features: https://gitlab.com/dokos/webshop",