Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
7644 Visualizzazioni

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

Avatar
Abbandona

I have the same problem...

Risposta migliore

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.

Avatar
Abbandona
Risposta migliore

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

 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 22
22448
2
feb 21
11045
0
mar 15
3174
1
mar 15
3728
1
mar 15
7527