mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
1eb2e1cc38
..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
closes odoo/design-themes#1025
X-original-commit: c3af5d9796
Related: odoo/odoo#190366
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
13 lines
445 B
XML
13 lines
445 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates xml:space="preserve">
|
|
<t t-name="test_themes.ThemeTooltip">
|
|
<img t-att-src="url" width="150"/>
|
|
</t>
|
|
|
|
<t t-name="test_themes.WebsiteSwitcherSystray" t-inherit="website.WebsiteSwitcherSystray" t-inherit-mode="extension">
|
|
<!-- With this module installed, disable the warning -->
|
|
<xpath expr="//DropdownItem/t[@t-if='!element.domain']" position="replace">
|
|
</xpath>
|
|
</t>
|
|
</templates>
|