[REF] theme_cobalt, *: migrate from deprecated t-esc to t-out
*: theme_graphene, theme_kiddo, theme_odoo_experts, theme_paptic, theme_test_custo See also : https://github.com/odoo/odoo/pull/168191 task-3573251 closes odoo/design-themes#804 Related: odoo/odoo#168191 Related: odoo/enterprise#65501 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<ul class="list-unstyled">
|
||||
<t t-set="animal_menu" t-value="request.env.ref('theme_test_custo.main_menu_animals')"/>
|
||||
<li t-foreach="request.env['website.menu'].search([('theme_template_id', '=', animal_menu.id), ('website_id', '=', request.website.id)]).child_id" t-as="menu">
|
||||
<a t-att-href="menu.url" t-esc="menu.name"/>
|
||||
<a t-att-href="menu.url" t-out="menu.name"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user