[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 <pimodoo@users.noreply.github.com>
This commit is contained in:
Nasreddin Boulif (bon)
2021-09-14 23:38:52 +00:00
parent 6d948bdb47
commit 6d20d54479
@@ -81,3 +81,4 @@
}
}
}
thead { display: table-row-group; }