Odoo Help

Welcome!

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.

1

[odoo v8.0] Odoo forget some headers and footers to PDF generation

By
Gael Torrecillas
on 6/17/16, 9:38 AM 203 views

hello,


My problem is, when odoo generates PDF, some pages don't have a header or footer, why? I have a required version to generate the PDF.


Do you have suggestions to solve this problem?


Torrecillas Gael

I've got the same problem ! There are some subjects about it - https://github.com/odoo/odoo/issues/5548

Maybe it's a problem from the app wkhtmltopdf I'm waiting for a solution too.

Fabien M
on 6/17/16, 10:06 AM
1
Gael Torrecillas
On 6/20/16, 7:52 AM

résolved,


I added "command_args.extend(['--javascript-delay', '1000'])" in "_build_wkhtmltopdf_args"  (odoo/addons/report/models/report.py)


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

2 follower(s)

Stats

Asked: 6/17/16, 9:38 AM
Seen: 203 times
Last updated: 6/20/16, 7:52 AM