Skip to Content
Menu
This question has been flagged
2 Replies
5145 Views

hello everybody,

I'm using odoo 12 for the first time with unbuntu 18.04

i try to send a "Purchase order" and i get this error: Wkhtmltopdf a échoué (code d'erreur : -8). Message : b''

- My release is unbuntu 18.04.1 LTS code name bionic

- Odoo version 12.0 (CE)

version : wkhtmltopdf 0.12.5 (with patched qt)

I tried this version : 0.12.1, 0.12.4
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf

somebody can help me because i havent clues

thanks for your help


Avatar
Discard
Author Best Answer

Bonjour et Merci Xavier,

J'avais un doute sur la version de l'os et puis j'ai réinstallé complètement.

ça fonctionne parfaitement désormais, merci de ton aide.


Avatar
Discard

de rien. si la réponse a aidé, merci de voter pour !

Best Answer

It's a known issue. You shouldn't use the wkhtmltopdf package from Ubuntu. Odoo recommend the wkhtmltopdf 0.12.1 version, see this document :
https://www.odoo.com/documentation/12.0/setup/install.html#linux

You can download a working binary package from https://builds.wkhtmltopdf.org/0.12.1.3/

For more info about current wkhtmltopdf and Odoo, see the discussion in this bug report
https://github.com/odoo/odoo/issues/21255#issuecomment-385242505

(I can help in french if needed.)

Avatar
Discard