-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
website_templates.xml
35 lines (27 loc) · 1.38 KB
/
website_templates.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
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Deprecated QWeb directive "t-esc-options". -->
<template id="test_template_1" name="Test Template 1">
<div>
<span t-esc="price" t-esc-options='{"widget": "monetary"}'/>
</div>
</template>
<!-- Deprecated QWeb directive "t-field-options". -->
<template id="test_template_2" name="Test Template 2">
<div>
<span t-field="line.image" t-field-options='{"widget": "image"}'/>
</div>
</template>
<template id="assets_backend" name="test_module_widget" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<!-- Wrong but is working in odoo web debug mode -->
<link rel="stylesheet" href="/test_module_widget/static/widget.css?v=1"/>
<script type="text/javascript" src="/test_module_affiliation_widget/static/widget.js?v=1"/>
<!-- Correct but is working working odoo web debug mode also -->
<link rel="stylesheet" href="/test_module_widget/static/widget.css"/>
<script type="text/javascript" src="/test_module_affiliation_widget/static/widget.js"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js?_ca=235"/>
</xpath>
</template>
</odoo>