Daily updates from Odoo
Monday, January 21, 2019
3 changes · master
Resolved issues and error corrections
This fix restores image-related tools that stopped working after a prior editor update. Website teams can again upload SEO images, choose page backgrounds, select blog covers, and use gallery images reliably.
Original PR description
* web_editor, website_blog Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the media dialog was refactored but the code which used it outside of the editor was not adapted at all. Also, the selected image was not saved correctly anymore, making the media dialog useless outside the editor in the current implementation. - Adapted SEO image uploading and body image background choice which were not working anymore - Adapted blog cover choice and gallery snippet which were strangely still working even though there were sending wrong parameters during media dialog initialization
This fix restores website editor-related dialogs and controls that were crashing after a recent editor update. Website users can again use media, image editing, and customization tools reliably outside the main editor.
Original PR description
* web_editor Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the editor dialog and the switches crashed on their use in website. This is because the merge split some xml files without adapting xml dependencies... this commit only takes care of code which depended on '/web_editor/static/src/xml/editor.xml'.
This fixes a problem where media selection stopped working in Odoo Studio report building blocks after an editor update. Users can again insert or manage media in reports from Studio as expected.
Original PR description
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the media dialog was refactored but the code which used it outside of the editor was not adapted at all. Enterprise part of https://github.com/odoo/odoo/pull/30416