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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Custom Layout for WALL CHART -->
<template id="custom_external_layout_footer">
<div class="footer" style="border-top: 1px solid black;">
<div class="col-xs-2"/>
<div class="text-center col-xs-8">
<ul class="list-inline" t-if="not company.custom_footer">
<li t-if="company.phone">Phone:
<span t-field="company.phone"/></li>
<li t-if="company.fax and company.phone">&bull;</li>
<li t-if="company.fax">Fax:
<span t-field="company.fax"/></li>
<li t-if="company.email and company.fax or company.email and company.phone">&bull;</li>
<li t-if="company.email">Email:
<span t-field="company.email"/></li>
<li t-if="company.website and company.email or company.website and company.fax or company.website and company.phone">&bull;</li>
<li t-if="company.website">Website:
<span t-field="company.website"/></li>
</ul>
<ul class="list-inline" name="financial_infos" t-if="not company.custom_footer">
<li t-if="company.vat">TIN:
<span t-field="company.vat"/></li>
</ul>
<t t-if="company.custom_footer">
<span t-raw="company.rml_footer"/>
</t>
<ul class="list-inline">
<li>Page:</li>
<li>
<span class="page"/>
</li>
<li>/</li>
<li>
<span class="topage"/>
</li>
</ul>
</div>
<div class="text-right col-xs-2">
<span t-esc="date.strftime(date.today(),'%d/%m/%Y')"/>
</div>
</div>
</template>
<template id="custom_external_layout">
<!-- Multicompany -->
<t t-if="not o and doc">
<t t-set="o" t-value="doc"/>
</t>
<t t-if="o and 'company_id' in o">
<t t-set="company" t-value="o.company_id"/>
</t>
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"/>
</t>
<t t-raw="0"/>
<t t-call="coop_shift.custom_external_layout_footer"/>
</template>
</data>
</odoo>