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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
0
abr. 26
|
910 | |||
|
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.