Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
7634 Visualizações

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
Cancelar

I have the same problem...

Melhor resposta

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
abr. 22
22444
2
fev. 21
11039
0
mar. 15
3170
1
mar. 15
3726
1
mar. 15
7524