-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
template1.xml
39 lines (33 loc) · 1.28 KB
/
template1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="my_template1" inherit_id="module.template">
<xpath expr="//div[@role='search']" position="replace">
<form/>
</xpath>
<xpath expr="//div[@role='search']" position="replace"/>
</template>
<template id="my_template2" inherit_id="module.template" priority="110">
<xpath expr="//div[@role='search']" position="replace">
<form/>
</xpath>
<xpath expr="//div[@role='search']" position="replace"/>
</template>
<template id="my_template3" inherit_id="module.template">
<t t-set="address" position="replace"/>
</template>
<template id="my_template4" inherit_id="module.template" priority="110">
<t t-set="address" position="replace"/>
</template>
<template id="my_template5" inherit_id="module.template">
<t t-set="address"/>
</template>
<templates id="my_template_xpath" xml:space="preserve">
<t t-name="t-name" t-inherit="module.Inherited" t-inherit-mode="extension" owl="1">
<xpath expr="//div[contains(text(), 'Translatable Value')]" position="replace">
<div>
<t>New Value</t>
</div>
</xpath>
</t>
</templates>
</odoo>