Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
10304 Vizualizări

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




Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

Thanks @yenthe, Solution works well. :)

No problem, best of luck! :)

Thanks a lot. I have been headache for a day and this works for me on Ubuntu 16.04 Xenial

Related Posts Răspunsuri Vizualizări Activitate
0
iun. 15
8077
4
mai 23
10526
1
ian. 19
9614
1
dec. 17
9592
0
oct. 17
3440