Ecocentral/Ecologistic#2 add fields for CCPAE certification. Add logo to documents header
This commit is contained in:
parent
53e1a9737f
commit
d340344313
7 changed files with 76 additions and 0 deletions
22
l10n_es_partner_ccpae/report/report_deliveryslip.xml
Normal file
22
l10n_es_partner_ccpae/report/report_deliveryslip.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<odoo>
|
||||
<data>
|
||||
<!-- Inherit the delivery slip report -->
|
||||
<template id="report_external_layout__inherit" inherit_id="web.external_layout_standard">
|
||||
<xpath expr="//div[@name='moto']" position="after">
|
||||
<t t-if="o.partner_id.ccpae_operador">
|
||||
<div class="col-8 mb4 text-right" >
|
||||
<div style="float: right; font-size: 0.8em;">
|
||||
Nº Operador: <span t-field="o.partner_id.ccpae_operador" /><br/>
|
||||
Org. Regulador: <br/><span t-field="o.partner_id.ccpae_organismo" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-1 mb4" >
|
||||
<img src="/l10n_es_partner_ccpae/static/img/ccpae.png"
|
||||
class="oe_structure" style="float: right; width: 60px;"/>
|
||||
<br/>
|
||||
</div>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue