Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
7636 Vizualizări

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

Imagine profil
Abandonează

I have the same problem...

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 22
22446
2
feb. 21
11039
0
mar. 15
3171
1
mar. 15
3726
1
mar. 15
7525