..cher
Defines dataset directly on website elements such that it can be
overridden by other modules if necessary.
This was done due to the override in the `test_themes` module completely
overriding all attributes of the website_switcher's dropdown items.
Runbot Error 106501
closesodoo/design-themes#1028
X-original-commit: c5f4e1c414
Related: odoo/odoo#190492
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
The customization of that block was removing the parent container by
mistake, making the editor crash.
Related to task-4246355
Part-of: odoo/design-themes#1022
Related: odoo/odoo#189638
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
*: anelusia, anelusia, enark, kiddo, loftspace, notes
- Install Website e-commerce.
- Select the "Kea" theme for your website.
- Go to the "/shop" page.
- Click on "Desks" category to go to the "/shop/category/desks-1" page.
- Click on edit to enter edit mode.
- Click on the "theme" tab.
- Change the website background color to "black".
- Bug: The breadcrumb has an ugly white background instead of no
background color, as in the "default" theme. Also, the "active"
breadcrumb item is hidden due to white text on a white background.
This commit removes the white background from the breadcrumb for all
themes that use it. This ensures the same appearance as other themes.
opw-4232082
closesodoo/design-themes#1017
X-original-commit: fe91239586
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
In some theme customizations, some replaced images do not have the usual
image classes `img img-fluid mx-auto` anymore. The `img-fluid` one is
needed for grid images in mobile view, as they are overflowing without
it.
This commit adds these missing classes on the identified problematic
images.
closesodoo/design-themes#999
X-original-commit: c5adf9a903
Related: odoo/odoo#185408
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Currently, an error occurs while importing an 'Experts' theme template.
Steps to produce:
- Install the 'website' module.
- Build one website, try to switch its theme to the 'Experts' theme.
ValueError:
External ID not found in the system: website.configurator_s_picture
When switching a website theme to the 'Experts' theme, an error occurs
during importing their XML definition because their parent template does
not exist. To resolve this issue we can remove this template.
Indeed, that configurator snippet override was not needed anymore since
the 'Experts' theme was not using that specific snippet for their
configurator pages anymore. The error went unnoticed because on runbot
all themes are installed, and at least one of them was using that
specific snippet in a configurator page. This will be improved.
See [1] with the same kind of issue.
[1]: https://github.com/odoo/design-themes/commit/aed6d0585be5c646e1c3cade419c706dc154efaf
Sentry-5962594281
closesodoo/design-themes#985
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>