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.
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
0
apr. 26
|
981 | |||
|
0
apr. 26
|
49 | |||
|
0
apr. 26
|
7 | |||
|
0
apr. 26
|
3 | |||
|
0
mar. 26
|
4 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.