summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
AgeCommit message (Collapse)Author
2021-02-22[FIX] website_form, *: allow to update buttons using link dialogxO-Tx
*: web_editor, website_mass_mailing When we double click a link/button, a link dialog appears to update the target properties, and since the current link dialog can only handle anchor targets, using it on buttons leads to some inconsistencies : - visible href options for button & url required to save changes. - missing preview when button style changed. ... The goal of this commit is to add a fix (with minimum of code) on summernote linkdialog to handle button elements using the same logic as anchor nodes. Also, update website form test tour to test those new changes. Part of https://github.com/odoo/odoo/pull/62206 task-2381305
2020-12-28[FIX] web_editor: show currently active aspect ratio in crop widgetSamuel Degueldre
When changing the crop widget from being inside of a modal window to using an inline crop widget, the functionality to show the currently active aspect ratio was lost. This commit restores that behaviour. Linked to https://github.com/odoo/odoo/issues/57604 closes odoo/odoo#57915 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: Kishan Gajjar <kishanegajjar@gmail.com>
2020-12-24[FIX] web_editor: stop suggesting shapes for model-related imagesqsm-odoo
Those kind of images use a specific route (/web_editor/shape/...) to be fetched. While waiting for a more complete solution to maybe handle them for model-related images, this commit only allows their use for images in views and HTML fields. closes odoo/odoo#63682 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-10-22[FIX] web_editor: avoid translation of ACE warning close button "icon"Benoit Socias
Before this commit the close button cross/multiply character was wrongly translated in some languages (e.g. Spanish) After this commit the close button cross/multiply character is not a translatable text anymore https://github.com/odoo/odoo/pull/60268 task-2365792 closes odoo/odoo#60268 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-22[FIX] web_editor: color-combination preview items alignmentstefanorigano (SRI)
task-2335267 part-of: #57942
2020-09-16[IMP] web_editor, *: make media-dialog search odoo media-librarySamuel Degueldre
*: website, web_unsplash, website_blog We have recently created an odoo media library that exposes a public API for searching for open-source media, including dynamic SVGs that can be used with the dynamic background-shape system to create illustrations whose colors can be changed by the user. This commit adds the corresponding client-side functionalty: search for the images in the media-library, creating a corresponding attachment when selected, as well as an option to customize the colors of the dynamic SVGs. In the process, adaptations have been made in the web_unsplash module to avoid duplicating code and to adapt code that was making assumptions that are no longer valid. To make new users more aware of this feature, all default images have been hidden from the media-dialog, so that the user is prompted so search for images. Some tests and tours that were relying on having default images in the media-dialog (eg in website_blog) have been adapted to match. task-2316651 Linked to: odoo/iap-apps#235 closes odoo/odoo#56479 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-08-17[IMP] web_editor: add delete button on snippet overlayqsm-odoo
This commit adds a trash icon on the snippet overlay to delete the snippet without using the left panel button. task-2314805 closes odoo/odoo#55612 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-08-14[IMP] web_editor, website, *: adjust general ui spacing/alignmentstefanorigano (SRI)
*: website_form Part of https://github.com/odoo/odoo/pull/55959 task-2157252
2020-08-14[IMP] web_editor: increase font-size/spacing of the editor UIstefanorigano (SRI)
11px was set as default font-size when achieving 5 or 6 edition levels in the sidebar was the norm. Thanks to the snippet's cleanup, resulting in a reduced number of editable elements, we can now increase the default fon-size and, consequentially, all general spacings. Part of https://github.com/odoo/odoo/pull/55959 task-2157252
2020-08-14[IMP] web, web_editor: review colorpicker designstefanorigano (SRI)
Part of https://github.com/odoo/odoo/pull/55959 task-2157252 Co-authored-by: qsm-odoo <qsm@odoo.com>
2020-08-07[IMP] web_editor, website: review color combination previewstefanorigano (SRI)
Part of https://github.com/odoo/odoo/pull/55645 task-2157252
2020-08-07[REF] web_editor, *: allow reusing links and buttons designstefanorigano (SRI)
*: website Part of https://github.com/odoo/odoo/pull/55645 task-2157252
2020-07-14[IMP] web_editor, *: introduce new "button group" editor widgetqsm-odoo
*: website, website_form Basically work just as a we-select but with a different design. Part of https://github.com/odoo/odoo/pull/53930 task-2157252
2020-07-06[FIX] web, web_editor, *: review chess-like bg for transparency previewqsm-odoo
*: website The style to achieve the chess-like bg result was duplicated at many places. The 'web' app was also actually using an image from the 'web_editor' app (we can live with it in stable as web_editor always comes with web in auto_install but this was still a mistake). closes odoo/odoo#54154 Also: fix some layout issue in the colorpicker widget. Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-07-03[FIX] web_editor: leftover rename video type in media dialog.Ravi Singh
this fixes is related to this PR https://github.com/odoo/odoo/pull/41561 where are broken the behaviour of options for media dialog. In this commit, we have changed classes names to fix the broken behavior of options in the video tab of media dialog. task-2154812 Closes https://github.com/odoo/odoo/pull/52135 closes odoo/odoo#54041 X-original-commit: fafbd7525c481dfed6a3df2a5cd15fbd01ab4d31 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-06-05[IMP] web_editor, *: move image optimization feature to left-panelSamuel Degueldre
*: website, mass_mailing In continuity with the nline crop, in an effort to make the image workflow as seamless as possible in the website editor, the image optimization feature has been moved out of the modal which could be opened through the media-dialog and into the left panel. This commit adds a quality slider and a width selector, as well as a preview of the image's weight to the left panel, and removes the image_optimize dialog. This commit also introduces the possibility to add a color filter on images. Part of https://github.com/odoo/odoo/pull/51517 task-2192755 closes odoo/odoo#51517 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-06-05[IMP] web_editor, *: change image cropping from modal to inline widgetSamuel Degueldre
*: base Previously, cropping an image was done inside of a modal window, turning it into an inline widget makes the editor feel more integrated and allows you to better see the result of cropping directly in the page, it's also less intrusive to the user's edition workflow. At the same time, the way cropped images are saved was refactored to use the new original_id field on ir_attachment, as the old system was creating problems. Part of https://github.com/odoo/odoo/pull/51517 task-2192755
2020-06-02[IMP] website, *: allow presets user editionqsm-odoo
*: web, web_editor Now, the user can edit each individual component of each color preset thanks to the third tab of the left panel. The edition of the first preset is the same as the others for the users but it is actually also used for "no-preset" areas, meaning that they impact the whole website by default (*without impacting the other presets*). The website thus appears as areas using presets, preset 1 being the default (in the future all areas will be customizable with a different preset). The only difference between "using preset 1 explicitely" and "not using a preset" will be that background color is transparent in no-preset, leaving the body background appear. If the body background has no image, then there is no difference at all as the background color of the body is set to be the background color of the preset 1. In boxed mode, that color is used for the "box" and the website body uses a different customizable color. Note: before this commit, the "text" color edition was used to set the main text color and one of the constrasting color for the color-yiq function (the darkest if a dark color or the lightest if a light color). That last part has been removed and automatic colors will now always use $gray-900 and $white as contrasting colors, unless changed by the theme explicitely. This needed to be removed as now the "text color" edition has been moved in the "preset 1" config and should thus only impact the "no-preset / preset 1" areas instead of all the presets. Part of https://github.com/odoo/odoo/pull/45856 task-2197038
2020-06-02[IMP] web_editor, *: integrate new o_cc${xxx} classes in the colorpickerqsm-odoo
*: website Part of https://github.com/odoo/odoo/pull/45856 task-2197038
2020-06-02[IMP] website, *: introduce new classes to color snippetsqsm-odoo
*: web, web_editor, website_blog, website_event New o_cc${xxx} classes where ${xxx} is a number [1-5] to style snippets: they come with a background color, a text color, headings colors, a link color, primary button colors and secondary button colors which will later be possible to customize by the user. The classes are made so that they are working on two levels. So if a column receives a color class and the snippet too, everything will work fine. More than 2 levels are not supported and the editor is made so those cases should not appear. See o_colored_level class. Part of https://github.com/odoo/odoo/pull/45856 task-2197038
2020-06-01[IMP] website, *: introduce a way to define outline buttons by defaultqsm-odoo
*: web, web_editor Disable the automatic generation of bootstrap color buttons and do it ourself with a tweak: we introduce btn-fill-* (working as the normal btn-* classes (in opposition to btn-outline-* classes). We then map btn-* classes to either btn-fill-* or btn-outline-* classes depending on the configuration (with a sass extend). Part of https://github.com/odoo/odoo/pull/52220 task-2197038 closes odoo/odoo#52220 Related: odoo/design-themes#288 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-06-01[IMP] web_editor: simplify button color choicesqsm-odoo
Now only suggest bootstrap classes for buttons: link/primary/secondary. Also review the link dialog to show only the options which are meaningful to the chosen type. Note: it will still be possible to change from an old color to primary or secondary). Part of https://github.com/odoo/odoo/pull/52220 task-2197038
2020-05-15[IMP] web, web_editor: integrate colorpicker in colorpalettefja-odoo
Stop using the colorpicker dialog in the colorpalette widget. Integrate the colorpicker widget in the colorpalette widget. Of course, the colorpicker behaviors are adapted so that no useless rerendering of the colorpalette is made on each value change. The 'reset color' button is now a button like the other colors, no need for a 'color_reset' event anymore. It is removed and replaced with a 'color_picked' event with color being an empty string. The clear button now also work on hover. Also, the topbar colorpalette for text and text background colors now has the exact same behaviour as the background colorpalette: adding color preview on hover. The colorpalette now also closes on 'enter' keypress. Part of https://github.com/odoo/odoo/pull/46088 task-2195313 closes odoo/odoo#46088 Related: odoo/enterprise#8696 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-04-27[IMP] website, *: warn user about outdated blocksfja-odoo
* = mass_mailing, web_editor, website_crm, website_event, website_form, website_forum, website_hr_recruitment, website_mail_channel, website_mass_mailing, website_sale, website_slides When an outdated snippet's option are activated we display a warning in the left panel that inform the user about the potential malfunctions. To do so the snippet's template key is added to the snippet as data-snippet. If a snippet is "t-call" inside another snippet, it will need to use t-snippet-call instead of t-call to have the key on himself. Those unique keys are used on snippet selection to retrieve the snippet's version in the left panel and compare it with the currently selected snippet's version. Versions are describe with data-vcss, data-vjs and data-vxml. If a snippet's key is not in the left panel we consider that snippet as outdated. Added some tests to ensure that t-snippet and t-snippet-call really have their template key as data-snippet Adapted the views to the data-snippet changes adding data-snippet="tmpl_key". Part of: https://github.com/odoo/odoo/pull/44569 task-2189669 closes odoo/odoo#50254 X-original-commit: 28a6cd49b6e87b75c2e70771e241c41778bf9e87 Related: odoo/enterprise#10236 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-04-22[FIX] web_editor: restore m2o widget in edit modeBenjamin Vray
Hide the button used to display the input and show the input directly. Add a search icon into the input. Deactivate the browser autocomplete. Improve and fix the layout. Keep the field selected after choosing a result from the list. This commit was only about making it work in the 13.0 left panel. It will be improved further in master with our new left panel. task-2187712 closes odoo/odoo#50024 X-original-commit: 6660ee960a3c643ae92448d7bdc37f6c780605b6 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-03-30[IMP] web_editor: improve image optimization workflow in media dialogSamuel Degueldre
Previously, when selecting an image, the user could optimize their images by clicking a little cog icon in the media dialog. They would also be prompted to optimize their images when uploading them. In most cases, it makes a lot more sense to always save the original in the database, and optimize the original whenever it's dropped in the page automatically. A second problem is that when using the optimization feature, optimized images would be displayed along the originals by default, resulting in a lot of duplicates while browsing the media dialog. This commit changes both of these things: - By default, when uploading an image, the original uploaded image is used. The user can still optimize their image manually through the media-dialog by using the cog icon. When choosing an image in the media-dialog, if it's not already an optimized image, an optimized copy is automatically created and used instead. - Optimized images are now hidden by default, in the media dialog, and can be shown by clicking a checkbox at the top of the modal when in debug mode task-2091417 closes odoo/odoo#45174
2020-03-30[IMP] web_editor, web_unsplash: improve media-dialog UXSamuel Degueldre
Previously, searching for images in the database and on unsplash was mutually exclusive, and controlled by a dropdown menu next to the search bar. Additionally, the display of db images and unsplash images was very different, making using the search function inconsistent and awkward. This commit merges the unsplash search into the db search. When searching, the first few matches from the database are displayed, then results from unsplash. Additionally, the layout of images has been greatly improved, eliminating almost all padding, using some flex-box magic to allow the images to take up all the available space without being cropped or deformed. The input to add an attachment by URL is now collapsed by default, and clicking on it will expand it to reduce visual clutter. Finally, when not in multi-images mode, the clicked image is immediately used, rather than the user having to click it and then click the add button, or having to double click, which was not obvious. task-2091417 closes odoo/odoo#45174
2020-03-27[FIX] web_editor: fix snippets shown in codeviewjvm-odoo
Issue - Install Mass Mailing - Activate debug mode - Create a mass mailing - Select any template - Go in codeview The snippets hide a part of the code Cause When toggling the codeview, we apply a position absolute (all to 0) which shift the #wrapwrap Solution Add an intermediary parent and apply position relative to #wrapwrap like in 12.0 OPW-2220639 closes odoo/odoo#48496 X-original-commit: e415cffa2ffb3fe4b5f0e32bd96b3433387a95e3 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-03-26[FIX] web_editor: fix buttons position for bg-position when parallaxBenjamin Vray
Correction of the position of the buttons when editing bg-image position with a parallax effect other than "fixed". task-46147 closes odoo/odoo#48419 X-original-commit: 0919b11c9a78a97345b42bf0fe0f1f9939c2b214 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-03-24[REF] web_editor: add a wrap div around overlay optionsBenjamin Vray
Add a wrap div around overlay options so we are able too add more specific options that are separate from the move options. Part of https://github.com/odoo/odoo/pull/46503 task-2194309
2020-02-21[IMP] web_editor: check resource is custom or not to display warning on editorHarpritsinh Sisodiya
adds _isCustomResource method which will check whether resource is custom or not, this method checks for JS and SCSS resource, if resource is custom then do not show "No Update" warning inside ace editor. task-2167570 closes odoo/odoo#44536 Related: odoo/enterprise#8368 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
2020-01-23[FIX] web_editor: fix move snippet hidingfja-odoo
The move snippet arrows where not hiding properly when the target was not movable. closes odoo/odoo#43864 X-original-commit: ab32882ff0ecaf9995e52b062b880cd8ea0b6efa Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-01-16[IMP] web_editor, *: allow saving of snippetsfja-odoo
* website, mass_mailing, website_event, website_form, website_mass_mailing, website_sale Now the user can save snippets to use them on other pages. task-2120409 closes odoo/odoo#40408 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-01[REF] web_editor, *: make options in charge of their renderingqsm-odoo
* website, website_sale Also make the "isTopOption" method a property. This is done in preparation of better code for coupling sub-widgets used to retrieve user value (button, input, colorpicker, ...) to actual change in the edited DOM through snippet options methods. Part of https://github.com/odoo/odoo/pull/40282 In preparation of task-2122935 and other tasks
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-18[IMP] web_editor: rework background-sizing optionSamuel Degueldre
Previously, background size and position for snippets was configured in a modal, the user could choose a "focus point", which is rather unintuitive. They could also choose to use the "contain" background mode, with or without repeat, or a third option, where they could customize everything, from the background size in both directions to whether to repeat the background in only one or in both directions. This commit streamlines the background-sizing options, only the "cover" and "repeat pattern" options have been kept, as they cover almost every use case. Their configuration has been moved into the options menu for consistency with the rest of the editor, and the background's position is now chosen by clicking on the corresponding menu option, and dragging the background to the desired place. Part of https://github.com/odoo/odoo/pull/38959 maintask-2066614 task-2088304
2019-11-18[IMP] web_editor, website: generalize colorpickerfja-odoo
Currently we have: - a colorpicker for background color of snippets - a colorpicker for foreground and background text (topbar) - a colorpicker for menu/footer/navbar/etc These 3 are separate colorpickers with different options. After this Commit All 3 will use the same color palette wich allow you to select theme color, common colors, custom color and transparent filter. Part of https://github.com/odoo/odoo/pull/38959 maintask-2066614 task-2087383
2019-11-18[IMP] web_editor: allow options to add UI in the overlay top barqsm-odoo
-> move the move buttons next to the drag button Part of https://github.com/odoo/odoo/pull/38959 task-2066614
2019-11-18[IMP] web_editor, *: allow snippet options next to clone/delete buttonsqsm-odoo
* website Now snippet options can be defined as a button which can be placed next to the clone and delete buttons, through a new "isTopOption" method. This commit also review the buttons and title design and take advantage of the feature to review the way snippets options are added in their container (that code indeed contained useless part since 13.0). Part of https://github.com/odoo/odoo/pull/38959 task-2066614
2019-10-08[FIX] web_editor: don't show warning relative url for new menu itemJeremy Kersten
Before this commit, we hide the 'relative warning' when you don't start you url with the current location. Now we show it only when you start your url with the current location. Before this commit, when you create a new link, the warning was shown until you type a first char in the input to trigger the input change. + some small design theme (label font weight, muted color, ...) closes odoo/odoo#38224 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-10-03[IMP] website: Remove hardcoded domains from website menusJairo Llopis
A common software development pattern is to have the same data replicated across different environments, such as production and staging. This happens i.e. in Odoo.sh. Let's assume your production instance is in ``https://www.example.com`` and your staging one is in ``https://staging.example.com``. Then: 1. A user in production modifies a website menu and makes it link to ``https://www.example.com/my-cool-page``. 1. A new change lands in staging, with a fresh copy of the production database. 1. The user goes to ``https://staging.example.com`` and navigates through the menus to validate the changes. 1. While navigating, he clicks in the website menu that links to ``https://www.example.com/my-cool-page``. 1. He makes some changes. **He didn't realize he was modifying production**. To avoid this kind of problems, if a user pastes a link that starts with the current domain, it gets removed. closes odoo/odoo#35715 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-09-17[IMP] website, *: allow to set background video to snippetsKishan Gajjar
* web_editor This commit adds support to set background videos to all the snippets that already support setting background images (except on parallax background for now). task-1920630 closes odoo/odoo#36261 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: Varun Raval <var@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com>
2019-09-10[REF] web_editor: transform border-like move handles into button handleqsm-odoo
Part of https://github.com/odoo/odoo/pull/36515
2019-08-28[IMP] web_editor, *: introduce and restore new web_editor UIqsm-odoo
* mass_mailing, note, website, website_blog, website_form, website_mass_mailing, website_sale This commit, unfortunately, mixes three things: - Restoring as much as possible the scss organisation to allow styling the web_editor UI properly. - Fixing some bugs like a border around the page once the editor is loaded, no ability to scroll the snippets, etc - Introducing a whole new UI for snippet options: a left panel instead of the old dropdown & button overlay. Note: this commit also do some linting and ES6 convertion even though some of it has been done in the parent commit. Note 2: some elements that were removed are still styled in the POS apps but this is because part of a feature was removed while leaving dead code behind, this is handled in another PR which is to be merged (https://github.com/odoo/odoo/pull/36136). Part of https://github.com/odoo/odoo/pull/36068 task-1942370 closes odoo/odoo#36068 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-08-22[REF] web_editor, mass_mailing: new iframe mechanismGorash
Since we reverted the saas-12.2 editor in favor of the 12.0 one, we faced a dilemna regarding how the editor iframe is handled in mass_mailing. The 12.0 version was using a special controller to get the website assets required for mass_mailing while the saas-12.2 version used a completely different mechanism that was, obviously, not handled by the 12.0 version. We did not want to reintroduce the old controllers who were considered to be a hack to load the assets in the mass_mailing iframe. However, we were very cautious about changing the editor itself to avoid introducing new bugs in the editor core of 13.0. The approach we chose at the end, is to use the loadAsset mechanism introduced in saas-12.2 to load the necessary assets and inject them in the mass_mailing iframe. This did not reintroduce the controllers nor did it require to change the code of the editor itself. However, it required moderate changes to the wysiwyg interface. Part of PR 35677. Co-authored-by: Nicolas Bayet <nby@odoo.com> Co-authored-by: Antoine Guenet <age@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com>
2019-08-21[REF] web_editor, website: adapt wysiwyg to 12.0 editorGorash
The wysiwyg abstraction layer was introduced in saas-12.2 by commit f2969923. Its goal was to provide an external interface for other modules that wanted to use the editor feature such that the editor core itself could be changed without requiring extensive changes in the other modules. This commit is adapting the wysiwyg interface to instantiate the 12.0 editor below it rather than the saas-12.2 one, thus reverting the "new editor" part of f2969923 itself. Part of PR 35677. Co-authored-by: Nicolas Bayet <nby@odoo.com> Co-authored-by: Antoine Guenet <age@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com>
2019-08-09[FIX] web_editor: make the ace asset info line readableAndrea Ulliana
The text was gray on gray... it is now forced to white. Part of https://github.com/odoo/odoo/pull/34422 task-2026299
2019-08-09[IMP] web_editor: review optimize dialog designqsm-odoo
This commit makes the UX of the optimize dialog clearer. Part of https://github.com/odoo/odoo/pull/34422 task-2026299
2019-07-30[IMP] web_editor, *: add message when no document/imagefja-odoo
* web The document/image tab in "Select a media" Dialog were not displaying any info when there was no document/images to load. Now there is a message with the same image as the backend. The "All attachments have been loaded" message is only displayed if there is no more documents to display after using the button "Load More". The "Load More" button is removed in the backend if there is no documents/images. Part of https://github.com/odoo/odoo/pull/33195 task-1945874 closes odoo/odoo#33195 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>