116 lines
4.9 KiB
XML
116 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<template id="assets_common" inherit_id="report.assets_common">
|
|
<xpath expr="." position="inside">
|
|
<link rel="stylesheet" type="text/less" href="/dp_reports/static/src/less/report_backend.less"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="report.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-call="report.external_layout_header"/>
|
|
<t t-raw="0"/>
|
|
<t t-call="dp_reports.external_layout_footer"/>
|
|
</template>
|
|
|
|
<!-- Report Header Full -->
|
|
<template id="report.external_layout_header">
|
|
<div class="header" style="font-size:10pt;">
|
|
<div class="row">
|
|
<div class="col-xs-7">
|
|
<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo"
|
|
style="max-height: 85px;"/>
|
|
<div style="margin-top: 15mm;">
|
|
<div name="company_address"
|
|
style="font-weight: lighter; font-size: 9pt;">
|
|
<span style="border-bottom: 1px solid black;">
|
|
<span t-esc="company.partner_id.name"/>
|
|
|
|
|
<span t-esc="company.partner_id.street"/>
|
|
|
|
|
<span t-esc="company.partner_id.zip"/>
|
|
<span t-esc="company.partner_id.city"/>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-5 text-right">
|
|
|
|
<strong>
|
|
<span t-esc="company.partner_id.name"/>
|
|
</strong>
|
|
<div>
|
|
<div class="col-xs-12" style="padding-right:0px;">
|
|
<t t-esc="company.partner_id.street"/>
|
|
</div>
|
|
<div class="col-xs-12" style="padding-right:0px;">
|
|
<t t-esc="company.partner_id.zip"/>
|
|
<t t-esc="company.partner_id.city"/>
|
|
</div>
|
|
<div class="col-xs-12" style="padding-right:0px;">
|
|
<t t-esc="company.partner_id.country_id.name"/>
|
|
</div>
|
|
<div class="oe_mt16 col-xs-12" style="padding-right:0px;">
|
|
<t t-esc="company.partner_id.email"/>
|
|
</div>
|
|
<div class="col-xs-12" style="padding-right:0px;">
|
|
<t t-esc="company.partner_id.website"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="external_layout_footer">
|
|
<div class="footer" style="font-size:10pt;">
|
|
|
|
<div style="border-top: 2px solid black;">
|
|
<div class="col-xs-4">
|
|
<span t-esc="company.name"/>
|
|
<br/>
|
|
<span t-esc="company.vat"/>
|
|
<br/>
|
|
<span t-esc="company.company_registry"/>
|
|
</div>
|
|
<div class="col-xs-4">
|
|
<div t-if="company.bank_ids">
|
|
<span t-esc="company.bank_ids[0].bank_id.name"/>
|
|
<br/>
|
|
IBAN:
|
|
<span t-esc="company.bank_ids[0].acc_number"/>
|
|
<br/>
|
|
SWIFT-BIC:
|
|
<span t-esc="company.bank_ids[0].bank_id.bic"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-4 text-right">
|
|
<ul class="list-inline">
|
|
<li>Seite:</li>
|
|
<li>
|
|
<span class="page"/>
|
|
</li>
|
|
<li>/</li>
|
|
<li>
|
|
<span class="topage"/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
</data>
|
|
</odoo>
|