diff --git a/addons/mrp_subcontracting/__manifest__.py b/addons/mrp_subcontracting/__manifest__.py index 43cbf45f8f1..d2e6ebd0bed 100644 --- a/addons/mrp_subcontracting/__manifest__.py +++ b/addons/mrp_subcontracting/__manifest__.py @@ -164,9 +164,7 @@ 'web/static/src/legacy/legacy_service_provider.js', 'web/static/src/legacy/legacy_promise_error_handler.js', 'web/static/src/legacy/legacy_rpc_error_handler.js', - 'web/static/src/legacy/root_widget.js', 'web/static/src/legacy/legacy_setup.js', - 'web/static/src/legacy/root_widget.js', 'web/static/src/legacy/backend_utils.js', 'web/static/src/legacy/utils.js', 'web/static/src/legacy/js/core/dates.js', diff --git a/addons/project/__manifest__.py b/addons/project/__manifest__.py index a6be90ee5a8..fa4413d6610 100644 --- a/addons/project/__manifest__.py +++ b/addons/project/__manifest__.py @@ -215,9 +215,7 @@ 'web/static/src/legacy/legacy_service_provider.js', 'web/static/src/legacy/legacy_promise_error_handler.js', 'web/static/src/legacy/legacy_rpc_error_handler.js', - 'web/static/src/legacy/root_widget.js', 'web/static/src/legacy/legacy_setup.js', - 'web/static/src/legacy/root_widget.js', 'web/static/src/legacy/backend_utils.js', 'web/static/src/legacy/utils.js', 'web/static/src/legacy/js/core/dates.js', diff --git a/addons/web/__manifest__.py b/addons/web/__manifest__.py index 4d4a90fa42a..2c3fe9b5188 100644 --- a/addons/web/__manifest__.py +++ b/addons/web/__manifest__.py @@ -156,7 +156,6 @@ This module provides the core of the Odoo Web Client. 'web/static/src/legacy/legacy_service_provider.js', 'web/static/src/legacy/legacy_promise_error_handler.js', 'web/static/src/legacy/legacy_rpc_error_handler.js', - 'web/static/src/legacy/root_widget.js', 'web/static/src/legacy/backend_utils.js', 'web/static/src/legacy/utils.js', 'web/static/src/legacy/js/core/dates.js', diff --git a/addons/web/static/src/legacy/root_widget.js b/addons/web/static/src/legacy/root_widget.js deleted file mode 100644 index 4ad94ed6da7..00000000000 --- a/addons/web/static/src/legacy/root_widget.js +++ /dev/null @@ -1,12 +0,0 @@ -/** @odoo-module alias=root.widget **/ -/** - * This module exists so that web_tour can use it as the parent of the - * TourManager so it can get access to _trigger_up. - */ -// need to wait for owl.Component.env to be set by web.legacySetup -import "web.legacySetup"; -import { ComponentAdapter } from "@web/legacy/js/owl_compatibility"; -// for its method _trigger_up. We can't use a standalone adapter because it -// attempt to call env.isDebug which is not defined in the tests when this -// module is loaded. -export default new ComponentAdapter({ Component: owl.Component }, owl.Component.env);