[FIX] sale: long product description
- Create a product with a very long product description - Add in a SO and print the quotation The description overlaps with the table header on the second page. This is a known issue of wkhtmltopdf (see issues 1770 and 1524 for example), and there is no known workaround. It can be avoided by preventing the repetition of the header. closes odoo/odoo#53990 X-original-commit: f54c73f9a42476e1f0d2de1904644f317ee1dffb Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -64,7 +64,8 @@
|
||||
<t t-set="display_discount" t-value="any([l.discount for l in doc.order_line])"/>
|
||||
|
||||
<table class="table table-sm o_main_table">
|
||||
<thead>
|
||||
<!-- In case we want to repeat the header, remove "display: table-row-group" -->
|
||||
<thead style="display: table-row-group">
|
||||
<tr>
|
||||
<th name="th_description" class="text-left">Description</th>
|
||||
<th name="th_quantity" class="text-right">Quantity</th>
|
||||
|
||||
Reference in New Issue
Block a user