From 6ebe32e1069c95c352cad8276584f904832717ed Mon Sep 17 00:00:00 2001 From: pedrambiria Date: Mon, 6 Mar 2023 15:59:38 +0000 Subject: [PATCH] [FIX] website: add `website.xml` file path into `web.assets_backend` Before this commit: if there wasn't any mail group, and you add a "Discussion Group" component to the website it will raise an error. The problem is that the `'website.prompt` wasn't loaded. The solution is to add the `website.xml` file path to `web.assets_backend` in the website manifest. opw-3184203 closes odoo/odoo#117824 X-original-commit: feed4ba6f0e904911de419a94998e22a2033f9f7 Signed-off-by: Quentin Smetz (qsm) --- addons/website/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/__manifest__.py b/addons/website/__manifest__.py index 77fa4091b5e..7ebd036ee5c 100644 --- a/addons/website/__manifest__.py +++ b/addons/website/__manifest__.py @@ -182,6 +182,7 @@ 'website/static/src/components/views/*', 'website/static/src/services/website_service.js', 'website/static/src/js/utils.js', + 'website/static/src/xml/website.xml', # Don't include dark mode files in light mode ('remove', 'website/static/src/client_actions/*/*.dark.scss'),