Skip to Content
Menu
This question has been flagged
5 Replies
15012 Views

I installed ODOO 11.0 community version on Ubuntu 18.0 using AWS. Whenever I tried to create invoice, I always found odoo server error:- "Unable to find Wkhtmktopdf on this system. The pdf can not be created." May be there are some dependency issues. Please help me to resolve this issue.

Thanks in advance!

Avatar
Discard
Best Answer

Please be aware that the title of my original thread from which Manish's answer was copy/pasted, is:

Ubuntu 18.04 LTS: How to install wkhtmltopdf 0.12.1 (Recommended for Odoo 9.0 and lower)

The recommended version of wkthmltopdf for Odoo 10 and higher is 0.12.5-1, see https://github.com/odoo/odoo/wiki/Wkhtmltopdf

The installation procedure is the same, but with a different package:

sudo wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.5-1~bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin


Avatar
Discard
Author Best Answer

Thanks!

Avatar
Discard
Best Answer

Hello,

Based on Yenthe's issue on Github https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3898 and thanks to the new builds provided by Ashish Kulkarni, the procedure is straightforward:

sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin

apt-get install -f will install the missing dependencies, which are shown as errors by the dpkg command.

You can find other builds for wkhtmltopdf 0.12.1.3 suitable for Odoo on different Linux systems here: https://builds.wkhtmltopdf.org/0.12.1.3/

For detailled information please check the Odoo Wiki: https://github.com/odoo/odoo/wiki/Wkhtmltopdf

Enjoy.

Avatar
Discard

Thank you for copy/pasting my original answer in this thread: https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-recommended-for-odoo-9-0-and-lower-134198

Providing a link next time would be nice.

Sure Ermin .. next time i will provide a link and thanks for your suggestions to solve this problem..

Related Posts Replies Views Activity
3
Jan 19
5773
2
Jul 24
2924
1
May 24
733
2
Feb 24
2179
9
Jun 23
11120