1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_au/views/report_payment_receipt_templates.xml
2024-12-10 09:04:09 +07:00

15 lines
690 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<template id="report_payment_receipt_document" inherit_id="account.report_payment_receipt_document">
<xpath expr="//strong[@id='payment_title']" position="replace">
<!-- Customary in Australia to use the term "Remittance Advice" for payments to suppliers -->
<t t-if="o.company_id.account_fiscal_country_id.code == 'AU' and o.partner_type == 'supplier'">
<strong>Remittance Advice: <span t-field="o.name"/></strong>
</t>
<t t-else="">
<strong>Payment Receipt: <span t-field="o.name"/></strong>
</t>
</xpath>
</template>
</odoo>