[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:
Serge Bayet (seba)
2024-06-05 15:31:37 +02:00
parent a5f3a0d7bb
commit f6e39e4b0a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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>