mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_widget_url_advanced: Migration to 17.0
This commit is contained in:
committed by
Maksym Yankin
parent
c85c6ed415
commit
7a357dd55d
30
web_widget_url_advanced/static/src/fields/url_field.xml
Normal file
30
web_widget_url_advanced/static/src/fields/url_field.xml
Normal 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>
|
||||
Reference in New Issue
Block a user