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.

0

what can i do with this issue You should upgrade your version of Wkhtmltopdf to at least 0.12.0 in order to get a correct display of headers and footers as well as support for table-breaking between pages.?

By
Mohammed Khamis
on 2/12/15, 9:53 AM 1,846 views

please I used Qweb report in odoo 8 but when i print the report this message upeare for me You should upgrade your version of Wkhtmltopdf to at least 0.12.0 in order to get a correct display of headers and footers as well as support for table-breaking between pages.

please help me how to solve this issue > I worked in ubuntu server 12.4

I have the same problem...

Juan José Scarafía
on 2/12/15, 9:56 AM
0
Prowler
On 5/23/16, 9:22 AM

You actually need to install wkhtmltopdf manually, not using pip or easy_install. The steps that worked for me are:


wget [the_package_from_wkhtmltopdf_download_page]
sudo dpkg -i [the_package_from_wkhtmltopdf_download_page]
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/


This still didn't solve my problem. Currently I'm getting this:

https://www.odoo.com/es_ES/forum/ayuda-1/question/syntaxerror-json-parse-unexpected-end-of-data-at-line-1-column-1-of-the-json-data-98776


But I have a version 0.12.1 on my system now, just as odoo requires.

0
Jordan Vrtanoski
On 2/12/15, 10:16 AM

You need to update the Wkhtmltopdf egg (the library).

If you are using easy_install, than write sudo easy_install --upgrade Wkhtmltopdf
If you are using PIP, than write sudo pip install Wkhtmltopdf --upgrade

 

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)

Stats

Asked: 2/12/15, 9:53 AM
Seen: 1846 times
Last updated: 5/23/16, 9:22 AM