33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
|
|
<template id="report_invoice_document" inherit_id="account.report_invoice_document" primary="True">
|
|
<xpath expr="//div[@id='payment_term']" position="after">
|
|
<t t-set="mydata_values" t-value="o._l10n_gr_edi_get_extra_invoice_report_values()"/>
|
|
<div class="row" t-if="mydata_values">
|
|
<div class="col-4">
|
|
<img alt="Greece Barcode" t-att-src="mydata_values['barcode_src']"/>
|
|
</div>
|
|
<div class="col-8">
|
|
<div style="margin:5px;">
|
|
<ul style="list-style: none">
|
|
<li>myDATA Mark <t t-out="mydata_values['mydata_mark']"/></li>
|
|
<li t-if="mydata_values.get('mydata_cls_mark')">myDATA Expense Classification Mark <t t-out="mydata_values['mydata_cls_mark']"/></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Workaround for Studio reports, see odoo/odoo#60660 -->
|
|
<template id="report_invoice" inherit_id="account.report_invoice">
|
|
<xpath expr='//t[@t-call="account.report_invoice_document"]' position="after">
|
|
<t t-elif="o._get_name_invoice_report() == 'l10n_gr_edi.report_invoice_document'"
|
|
t-call="l10n_gr_edi.report_invoice_document"
|
|
t-lang="lang"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|