From 3f38d903e9f4b39c6d4638cc4e745a9bb35ac390 Mon Sep 17 00:00:00 2001 From: "Dylan Kiss (dyki)" Date: Tue, 22 Nov 2022 14:57:15 +0000 Subject: [PATCH] [FIX] account,l10n_{au,in,gcc_invoice}: distinguish credit note titles Currently we distinguish customer invoice titles based on the state they are in: draft, posted or cancelled. For the customer credit notes we did not have this dinstinction. This fix makes sure that the title of a credit note is also adapted based on its state. [task-3067251](https://www.odoo.com/web#id=3067251&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form) closes odoo/odoo#106692 Related: odoo/enterprise#34464 Signed-off-by: John Laterre (jol) --- addons/account/views/report_invoice.xml | 12 ++++--- addons/l10n_au/views/report_invoice.xml | 4 ++- .../l10n_gcc_invoice/views/report_invoice.xml | 32 +++++++++++++------ addons/l10n_in/views/report_invoice.xml | 14 ++++---- 4 files changed, 40 insertions(+), 22 deletions(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 3bf2f8b6577..75592005ec6 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -52,11 +52,13 @@

Invoice - Draft Invoice - Cancelled Invoice - Credit Note - Vendor Credit Note - Vendor Bill + Draft Invoice + Cancelled Invoice + Credit Note + Draft Credit Note + Cancelled Credit Note + Vendor Credit Note + Vendor Bill

diff --git a/addons/l10n_au/views/report_invoice.xml b/addons/l10n_au/views/report_invoice.xml index ff957318803..93d38a3cbd4 100644 --- a/addons/l10n_au/views/report_invoice.xml +++ b/addons/l10n_au/views/report_invoice.xml @@ -6,7 +6,9 @@ Tax Invoice Draft Tax Invoice Cancelled Tax Invoice - Tax Credit Note + Tax Credit Note + Draft Tax Credit Note + Cancelled Tax Credit Note Tax Vendor Credit Note Tax Vendor Bill diff --git a/addons/l10n_gcc_invoice/views/report_invoice.xml b/addons/l10n_gcc_invoice/views/report_invoice.xml index 6b84f906202..eb958b59398 100644 --- a/addons/l10n_gcc_invoice/views/report_invoice.xml +++ b/addons/l10n_gcc_invoice/views/report_invoice.xml @@ -36,19 +36,25 @@ Tax Invoice - + Draft Invoice - + Cancelled Invoice - + Credit Note - + + Draft Credit Note + + + Cancelled Credit Note + + Vendor Credit Note - + Vendor Bill
@@ -59,19 +65,25 @@ فاتورة ضريبية - + مسودة فاتورة - + فاتورة ملغاة - + إشعار خصم - + + إشعار خصم المسودة + + + إشعار خصم ملغاة + + إشعار خصم المورد - + فاتورة المورد diff --git a/addons/l10n_in/views/report_invoice.xml b/addons/l10n_in/views/report_invoice.xml index 55337b262a7..f873596eaf1 100644 --- a/addons/l10n_in/views/report_invoice.xml +++ b/addons/l10n_in/views/report_invoice.xml @@ -42,12 +42,14 @@

- Draft - Cancelled - Credit Note - Vendor Credit Note - Vendor Bill - + Draft + Cancelled + Credit Note + Draft Credit Note + Cancelled Credit Note + Vendor Credit Note + Vendor Bill +