Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
7641 มุมมอง

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...

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to get company name in qweb report? แก้ไขแล้ว
1
เม.ย. 22
22448
How to call css style in qweb report? แก้ไขแล้ว
2
ก.พ. 21
11041
0
มี.ค. 15
3174
1
มี.ค. 15
3727
1
มี.ค. 15
7527