Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


odoo 8 print my new report as empty PDF

on 6/25/15, 1:50 PM 678 views


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  

Andre de Kock
On 7/9/15, 3:57 PM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 6/25/15, 1:50 PM
Seen: 678 times
Last updated: 7/14/15, 4:29 AM