I have an issue in an Odoo QWeb PDF report (wkhtmltopdf) where a single text line gets cut horizontally between two pages instead of moving completely to the next page.
Screenshot:
What can i do to prevent this?
I have an issue in an Odoo QWeb PDF report (wkhtmltopdf) where a single text line gets cut horizontally between two pages instead of moving completely to the next page.
Screenshot:
What can i do to prevent this?
Hello Nikolaus,
Yes, this is usually caused by how wkhtmltopdf handles page rendering in QWeb reports.
break-inside: avoid;
to the affected container elements (div, table, tr, etc.).
In some cases, adjusting line-height, margins, or avoiding complex nested layouts also helps because wkhtmltopdf has known rendering limitations with page breaks.
Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion.
Regards,
Zehntech Technologies Inc.
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
0
d’abr. 26
|
880 | |||
|
0
d’abr. 26
|
49 | |||
|
0
d’abr. 26
|
7 | |||
|
0
d’abr. 26
|
3 | |||
|
0
de març 26
|
4 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.