Files
Odoo-Build/snippets/mint_system.account.report_invoice_document.replace_payment_communication.xml

12 lines
370 B
XML

<data priority="50">
<xpath expr="//p[@name='payment_communication']" position="replace">
<p t-if="o.move_type in ('out_invoice', 'in_refund') and o.payment_reference" name="payment_communication" class="mt-4">
Please use the following communication for your payment : <b>
<span t-field="o.payment_reference"/>
</b>
</p>
</xpath>
</data>