a27fbf4aaf02a0b9f5f3fe3979075e96047a6df5
Steps to reproduce bug: Loop through the form view of mailing records having at least one of them the 'basic' theme, and the other ones any other theme. Once a mailing has the 'basic' theme, the sidebar is hidden (expected behaviour). But the sidebar will remain hidden for all mailing records, even the ones based on different themes (that would normally display the sidebar). The cause: There's a CSS rule to make 'display: none' when the iframe's body has the 'o_basic_theme' class. (see addons/mass_mailing/static/src/scss/mass_mailing.ui.scss) And the theme class is not properly cleared when switching between records of different themes. This commit fixes the issue by properly removing any theme classes before adding the current theme's one. Part-of: odoo/odoo#117166
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%