From ae9efe2a17232357b76f4caa7b6fa0a642e5cfe4 Mon Sep 17 00:00:00 2001 From: "Mattis Megevand (mmeg)" Date: Tue, 21 Nov 2023 11:11:15 +0100 Subject: [PATCH] [FIX] web: match preview of invoice and its report Steps to reproduce: - Make an invoice and setup the layout of the document - A preview will be displayed - Make the invoice and download it Issues: The layout of the preview and the invoice doesn't match the updated layout from commit 3764914c8616bf59d299e6279cc6fc93321cdacb. Solution: Correct the view of the report templates. opw-3584286 closes odoo/odoo#145815 X-original-commit: 778cc239010f3bb8618824fdaf06cb19922d6498 Signed-off-by: Lucas Perais (lpe) --- addons/web/i18n/web.pot | 6 ++++++ addons/web/views/report_templates.xml | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/addons/web/i18n/web.pot b/addons/web/i18n/web.pot index ebcc84ce276..b82382fda6a 100644 --- a/addons/web/i18n/web.pot +++ b/addons/web/i18n/web.pot @@ -5474,6 +5474,12 @@ msgid "" " INV/2023/00003" msgstr "" +#. module: web +#: model_terms:ir.ui.view,arch_db:web.report_invoice_wizard_preview +msgid "" +"Payment Communication: INV/2023/00003" +msgstr "" + #. module: web #. odoo-javascript #: code:addons/web/static/src/views/fields/many2one/many2one_field.js:0 diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index 94df525b32b..a2bb13a16a3 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -188,8 +188,16 @@
-
-
+
+
+

+ Payment terms: 30 Days +

+

+ Payment Communication: INV/2023/00003 +

+
+
@@ -214,13 +222,6 @@ -

- Please use the following communication for your payment : - INV/2023/00003 -

-

- Payment terms: 30 Days -

Untaxed Amount