From 5dc625fada8ac07ba419f60a7d416210d7b1cb89 Mon Sep 17 00:00:00 2001 From: "Nicolas Viseur (vin)" Date: Tue, 24 Oct 2023 09:36:48 +0800 Subject: [PATCH] [IMP] l10n_au: Remittance Advice In AU, it is customary to name proof of payments document with different headers if the partner is a customer or a supplier. If the partner is a customer, the current "Payment Receipt" is expected. If the partner is a supplier, "Remittance Advice" is expected. This change will bring this to the payment receipt report if: - the australian localisation is installed - either the company or the partner are from Australia Task id # 3465257 closes odoo/odoo#139543 Signed-off-by: Laurent Smet (las) --- .../views/report_payment_receipt_templates.xml | 2 +- addons/l10n_au/__manifest__.py | 1 + .../views/report_payment_receipt_templates.xml | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 addons/l10n_au/views/report_payment_receipt_templates.xml diff --git a/addons/account/views/report_payment_receipt_templates.xml b/addons/account/views/report_payment_receipt_templates.xml index c346692412e..322d1964f90 100644 --- a/addons/account/views/report_payment_receipt_templates.xml +++ b/addons/account/views/report_payment_receipt_templates.xml @@ -5,7 +5,7 @@
-

Payment Receipt:

+

Payment Receipt:

diff --git a/addons/l10n_au/__manifest__.py b/addons/l10n_au/__manifest__.py index 7a9c4b00173..623410ffcf6 100644 --- a/addons/l10n_au/__manifest__.py +++ b/addons/l10n_au/__manifest__.py @@ -26,6 +26,7 @@ Also: 'views/report_invoice.xml', 'views/res_company_views.xml', 'views/res_partner_bank_views.xml', + 'views/report_payment_receipt_templates.xml', ], 'demo': [ 'demo/demo_company.xml', diff --git a/addons/l10n_au/views/report_payment_receipt_templates.xml b/addons/l10n_au/views/report_payment_receipt_templates.xml new file mode 100644 index 00000000000..197116867b4 --- /dev/null +++ b/addons/l10n_au/views/report_payment_receipt_templates.xml @@ -0,0 +1,14 @@ + + + +