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.
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
0
abr 26
|
884 | |||
|
0
abr 26
|
49 | |||
|
0
abr 26
|
7 | |||
|
0
abr 26
|
3 | |||
|
0
mar 26
|
4 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.