Skip to content

Commit 8b04b6d

Browse files
committed
[IMP] *: remove deprecated 't-esc' ir.qweb directive
task-4461090 closes #1150 Related: odoo/odoo#228421 Related: odoo/enterprise#95456 Related: odoo/documentation#14675 Related: odoo/upgrade#8493 Related: odoo/upgrade-util#326 Signed-off-by: Christophe Matthieu (chm) <[email protected]>
1 parent 23c7f7c commit 8b04b6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

theme_odoo_experts/views/snippets/s_mockup_image.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</h1>
1919
<p>With over 15 years of proven success, we deliver expert guidance and strategic insights for your business’s future.</p>
2020
<p><br/></p>
21-
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-esc="cta_btn_text">Learn more</t></a>
21+
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-out="cta_btn_text">Learn more</t></a>
2222
</div>
2323
</xpath>
2424
<xpath expr="//div[hasclass('col-lg-8')]" position="attributes">

theme_yes/views/snippets/s_call_to_action.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</xpath>
2020
<!-- CTA -->
2121
<xpath expr="//p" position="after">
22-
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-esc="cta_btn_text">Contact us</t></a>
22+
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-out="cta_btn_text">Contact us</t></a>
2323
</xpath>
2424
<!-- Remove right-side button -->
2525
<xpath expr="//div[hasclass('col-lg-3')]" position="replace"/>

theme_yes/views/snippets/s_freegrid.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<h2 style="text-align: center;">Discover some of the latest<br/>moments we helped to create</h2>
3838
<p><br/></p>
3939
<p style="text-align: center;">
40-
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_translate_inline"><t t-esc="cta_btn_text">View all the pictures</t></a>
40+
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_translate_inline"><t t-out="cta_btn_text">View all the pictures</t></a>
4141
</p>
4242
</div>
4343
</xpath>

0 commit comments

Comments
 (0)