Files
enterprise-addons/account_sepa_direct_debit/views/report_invoice.xml
T

22 lines
858 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="sdd_report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//div[@t-if='not is_html_empty(o.narration)']" position="before">
<div t-if="any(p.sdd_mandate_id for p in o.reconciled_payment_ids)">
<div>
<p>
This invoice will be paid using direct debit and is only
sent for informative purposes.
</p>
<p>
Please do not pay it manually, the payment will be asked to your bank to be processed
automatically.
</p>
</div>
</div>
</xpath>
</template>
</data>
</odoo>