From d86ed180a66d2315f7703e4fdf4d6ee85b57332e Mon Sep 17 00:00:00 2001 From: "Abdelouahab (abla)" Date: Mon, 4 Jul 2022 11:28:34 +0000 Subject: [PATCH] [FIX] web : fix bg for bold document layout To reproduce ============ on settings -> document layout -> choose Bold with blank background. print a document (quotation for example) that has at least 2 pages. the second page of the document has a background. Purpose ======= the issue is caused by the condition : https://github.com/odoo/odoo/blob/0436709f33e57479bd6d62c2e0a2de74743cbaa4/addons/web/views/report_templates.xml#L403 where we don't take into account the case where no background is set. Specification ============= to solve the issue the condition was corrected opw-2888650 closes odoo/odoo#96528 X-original-commit: bf2ce0aa0c7d45c90d7ff104d5af5f99b29d59ae Signed-off-by: Simon Genin (ges@odoo) --- addons/web/views/report_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml index b4a7551ddea..46afb10c50b 100644 --- a/addons/web/views/report_templates.xml +++ b/addons/web/views/report_templates.xml @@ -400,7 +400,7 @@ -
+