CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
I have an idea. Make sure that in your report template you at least have the following three div's:
<div class="page"><!-- content in here --></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.
About This Community
Odoo Training Center
|Asked: 6/25/15, 1:50 PM|
|Seen: 984 times|
|Last updated: 7/14/15, 4:29 AM|