[MIG] web_widget_url_advanced: Migration to 17.0

This commit is contained in:
Nedas Žilinskas
2024-05-27 20:16:28 +03:00
committed by Maksym Yankin
parent c85c6ed415
commit 7a357dd55d
9 changed files with 113 additions and 82 deletions

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates id="template" xml:space="preserve">
<t
t-name="web_widget_url_advanced.UrlField"
t-inherit="web.UrlField"
t-inherit-mode="extension"
>
<xpath expr="//a[hasclass('o_field_widget')]" position="attributes">
<attribute name="t-esc">title</attribute>
<attribute name="t-att-href">formattedHrefWithPrefix</attribute>
</xpath>
</t>
<t
t-name="web_widget_url_advanced.FormUrlField"
t-inherit="web.FormUrlField"
t-inherit-mode="extension"
>
<xpath expr="//a[hasclass('o_field_widget')]" position="attributes">
<attribute name="t-esc">title</attribute>
<attribute name="t-att-href">formattedHrefWithPrefix</attribute>
</xpath>
</t>
</templates>