From 6333ac0b69bf662afbbe86dc79b595ed83958f76 Mon Sep 17 00:00:00 2001 From: Nicolas Bayet Date: Wed, 23 Aug 2023 13:28:16 +0200 Subject: [PATCH] [FIX] website_form_project: add website utils.js in project.webclient In website, there is a patch of the LinkDialog (see website/static/src/js/editor/editor.js) that require the utils.js. Thus, when website is installed, this bundle need to have the utils.js in its assets otherwise there will be an unmet dependency. task-3434068 X-original-commit: 9bbb43c6be24ce8cd46e78b292779d3915cffd3e Part-of: odoo/odoo#133477 --- addons/website_form_project/__manifest__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/website_form_project/__manifest__.py b/addons/website_form_project/__manifest__.py index 6f70595dfe6..91740715991 100644 --- a/addons/website_form_project/__manifest__.py +++ b/addons/website_form_project/__manifest__.py @@ -21,6 +21,14 @@ Generate tasks in Project app from a form published on your website. This module 'website.assets_wysiwyg': [ 'website_form_project/static/src/js/website_form_project_editor.js', ], + 'project.webclient': [ + # In website, there is a patch of the LinkDialog (see + # website/static/src/js/editor/editor.js) that require the utils.js. + # Thus, when website is installed, this bundle need to have the + # utils.js in its assets, otherwise, there will be an unmet + # dependency. + 'website/static/src/js/utils.js', + ], }, 'license': 'LGPL-3', }