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

15 lines
559 B
XML

<?xml version="1.0"?>
<odoo>
<template id="l10n_ch_report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//t[@t-set='show_qr']" position="attributes">
<attribute name="t-value" add="and o.qr_code_method != 'ch_qr'" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('invoice_main')]" position="after">
<div t-if="o.l10n_ch_is_qr_valid">
<div style="page-break-after: always"/>
<br/>
</div>
</xpath>
</template>
</odoo>