Skip to Content
Menu
This question has been flagged
4 Replies
8950 Views

I've installed Odoo 12 on my Debian 9.0 64 bit server, but I can't install wkhtmltopdf !


How can I do that ?

Avatar
Discard
Best Answer

Hello @Morelle,

Get the latest version of wkhtmltopdf from
http://wkhtmltopdf.org/downloads.html
 
sudo wget http://garr.dl.sourceforge.net/project/wkhtmltopdf/0.12.0/wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz

    sudo unxz wkhtmltox-linux-amd64_0.12.0-03c001d.tar.xz

    sudo tar -xvf wkhtmltox-linux-amd64_0.12.0-03c001d.tar

    cd /wkhtmltox/bin

    sudo mv wkhtmltopdf  /usr/bin/wkhtmltopdf

In Odoo System Parameters

    key: webkit_path

    value: /usr/bin/wkhtmltopdf

Avatar
Discard

I think Odoo has only a full support on 0.12.1

preferably, it is recommended to stick to it.

Best Answer

Hi, 
Have you tried Step 12's instructions in : https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/ ?

Avatar
Discard
Author Best Answer

Tks for your answer. I could install wkhtmltopdf on the serveur. I've check with the command 

wkhtmltopdf http://www.google.com google.pdf

Loading pages (1/6)

Counting pages (2/6)                                               

Resolving links (4/6)                                                       

Loading headers and footers (5/6)                                           

Printing pages (6/6)

Done  


In Odoo system parameter I've create the new parameter "webkit_path" and nothing change. I've still the same problem...

Avatar
Discard