From 832c2711976fa4045ec5c265456717c8258d2755 Mon Sep 17 00:00:00 2001 From: "Maximilien (malb)" Date: Tue, 25 Apr 2023 11:34:04 +0000 Subject: [PATCH] [FIX] account,l10n_es: Adding company registry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For the l10n_es localisation, we needed to print on the invoice the company id of the partner we send the invoice to. To do that, I had to add some id to make the xpath work. Task-3281337 closes odoo/odoo#125596 X-original-commit: 845b275846e49a923a9e181ad37cee3c691f16d0 Signed-off-by: William André (wan) Signed-off-by: Maximilien La Barre (malb) --- addons/account/views/report_invoice.xml | 30 ++++++++++++------------- addons/l10n_es/__manifest__.py | 2 ++ addons/l10n_es/views/report_invoice.xml | 23 +++++++++++++++++++ 3 files changed, 40 insertions(+), 15 deletions(-) create mode 100644 addons/l10n_es/views/report_invoice.xml diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index f5d451aa52d..69e09c1428e 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -18,7 +18,7 @@
-
+
Tax ID:
@@ -27,24 +27,24 @@
- -
-
- - Tax ID: -
- + +
+
+ + Tax ID: +
+
- -
-
- - Tax ID: -
- + +
+
+ + Tax ID: +
+
diff --git a/addons/l10n_es/__manifest__.py b/addons/l10n_es/__manifest__.py index d30aaabb9cc..eea25977f68 100644 --- a/addons/l10n_es/__manifest__.py +++ b/addons/l10n_es/__manifest__.py @@ -27,6 +27,8 @@ Spanish charts of accounts (PGCE 2008). ], 'data': [ 'data/account_tax_data.xml', + + 'views/report_invoice.xml', ], 'demo': [ 'demo/demo_company.xml', diff --git a/addons/l10n_es/views/report_invoice.xml b/addons/l10n_es/views/report_invoice.xml new file mode 100644 index 00000000000..3fc7e8bbb32 --- /dev/null +++ b/addons/l10n_es/views/report_invoice.xml @@ -0,0 +1,23 @@ + + + +