Odoo18-Base/addons/l10n_eg_edi_eta/views/report_invoice.xml
2025-01-06 10:57:38 +07:00

16 lines
642 B
XML

<odoo>
<data>
<template id="egyptian_invoice" inherit_id="account.report_invoice_document">
<xpath expr="//div[@id='qrcode']" position="after">
<div id="qrcode_eg" t-if="o.l10n_eg_qr_code">
<p>
<strong class="text-center">ETA QR Code</strong>
<img style="display:block;"
t-att-src="'/report/barcode/?barcode_type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', o.l10n_eg_qr_code, 130, 130)"/>
</p>
</div>
</xpath>
</template>
</data>
</odoo>