[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
This commit is contained in:
Nicolas Bayet
2023-09-06 11:50:50 +00:00
parent 93f02cf453
commit 6333ac0b69
@@ -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',
}