Hello!
I try to build my own report ... but when I print, I get an empty PDF.
When I print as HTML, he show the lines.
Other reports are printing normal.
Any idea where I can look?
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello!
I try to build my own report ... but when I print, I get an empty PDF.
When I print as HTML, he show the lines.
Other reports are printing normal.
Any idea where I can look?
Thank you
I have an idea. Make sure that in your report template you at least have the following three div's:
<div class="header"></div>
<div class="page"><!-- content in here --></div>
<div class="footer"></div>
If your report template doesn't have these div's, it will display in HTML, but not in PDF, because wkhtmltopdf needs to know where to find the header and footer of a report.
I hope that this fixes your problem. Please comment if this isn't the solution.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
okt. 17
|
5117 | ||
|
1
jul. 24
|
9115 | ||
|
0
jan. 16
|
3428 | ||
PDF reports
Opgelost
|
|
5
jul. 25
|
2244 | |
Wrong PDF Format
Opgelost
|
|
2
mrt. 24
|
2755 |