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!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
0
dub 26
|
882 | |||
|
0
dub 26
|
49 | |||
|
0
dub 26
|
7 | |||
|
0
dub 26
|
3 | |||
|
0
bře 26
|
4 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.