Odoo Help

0

0
5 Answers
1
Avatar

Ermin Trevisan

--Ermin Trevisan--
9464
| 7 5 9
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
4/25/19, 11:36 AM

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


0
Varinder Kaur
4/25/19, 2:43 AM

Thanks!

0
Avatar

Manish Kumar Bohra

--Manish Kumar Bohra--

1233
| 5 3 10
Bikaner, India
--Manish Kumar Bohra--


Manish Kumar Bohra
4/25/19, 1:53 AM

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.

2 Comments
Ermin Trevisan
4/25/19, 11:20 AM

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.

Manish Kumar Bohra
4/25/19, 11:27 AM

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

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now