From 701f3a3fcc183c69b94064b981c2660e02c32e98 Mon Sep 17 00:00:00 2001 From: "Antoine (ande)" Date: Thu, 4 Jan 2024 13:30:35 +0100 Subject: [PATCH] [FIX] web: report not good when exporting to pdf Steps to reproduce: 1. Go to Settings 2. In Document Layout 3. Click on Configure Document Layout 4. Preview looks right 5. Click on Download PDF Preview 6. Open the PDF 7. Preview is not right 8. The bottom right table is squished Cause of the issue: Introduced by https://github.com/odoo/odoo/commit/778cc239010f3bb8618824fdaf06cb19922d6498 Fix: Copied report_invoice_document opw-3651311 closes odoo/odoo#150195 X-original-commit: 227c9567845ec9a592e9f265fbfcee537dd17ff5 Signed-off-by: Antoine Demany (ande) --- addons/web/views/report_templates.xml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index f02690b200f..ebe536ea0cb 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -187,17 +187,9 @@ -
-
-
-

- Payment terms: 30 Days -

-

- Payment Communication: INV/2023/00003 -

-
-
+
+
+
@@ -222,6 +214,16 @@ +
+
+

+ Payment terms: 30 Days +

+

+ Payment Communication: INV/2023/00003 +

+
+
Untaxed Amount