Odoo Help

Welcome!

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

3

[QWEB odoo-8]: Wkhtmltopdf issue with ubuntu 14.04 64 bit, how to resolve it?

By
Anil R. Kesariya
on 9/25/15, 2:58 AM 1,560 views

Hello Everyone,

Header & footer appear only in first page. if we are using 14.04 ubuntu. 

I have used this lib on 14.04 : wkhtmltox-0.12.2.1_linux-trusty-amd64.deb

If I install this lib than  header appears only on first page.

after removing this If i install via terminal using this command  sudo apt-get install wkhtmltopdf      than lib successfully installed but header & footer disappear at all.

It does work very well with 12.04.

How do I fix this issue? or I have to use only 12.04?

Thanks in advance.

Rgds,

Anil




2

Yenthe

--Yenthe--
6676
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 9/25/15, 3:13 AM

Hi Anil,

The Wkhtmltopdf version you're using is not fully supported by Odoo. You should downgrade it to version 0.12.1.x. You can find more information about that here: https://github.com/odoo/odoo/issues/5177
You can install the correct version in the following way:

sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin

P.S: this is for 64 bit. If you have a 32 bit version you should change the link to http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-i386.deb

Yenthe

Thanks @yenthe, Solution works well. :)

Anil R. Kesariya
on 9/25/15, 3:25 AM

No problem, best of luck! :)

Yenthe
on 9/25/15, 3:41 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/25/15, 2:58 AM
Seen: 1560 times
Last updated: 7/10/16, 9:48 PM