From 6d20d54479ddfba2c0c9db3a23fbbdc4f5a4de52 Mon Sep 17 00:00:00 2001 From: "Nasreddin Boulif (bon)" Date: Mon, 13 Sep 2021 14:49:39 +0000 Subject: [PATCH] [FIX] stock: Display only one table header in traceability report Steps to reproduce: - Install Manufacturing module - Go to Manufacturing -> Operations -> Manufacturing Orders - Create a new one and add at least 10 product components - Move it to Done stage - Click on stat button Traceability - Unfold the components - Print report Issue: Table header on 2nd page overlap table content. Cause: Wkhtmltopdf does not handle well table on multiple pages. More info here: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2367 Solution: Do not duplicate table header on next pages. opw-2634492 closes odoo/odoo#76535 X-original-commit: 8cc791e2de0f708ff7d69574cc8a8a40ef61c02b Signed-off-by: pimodoo --- addons/stock/static/src/scss/stock_traceability_report.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock/static/src/scss/stock_traceability_report.scss b/addons/stock/static/src/scss/stock_traceability_report.scss index b58f484675b..285df4896f4 100644 --- a/addons/stock/static/src/scss/stock_traceability_report.scss +++ b/addons/stock/static/src/scss/stock_traceability_report.scss @@ -81,3 +81,4 @@ } } } +thead { display: table-row-group; }