Skip to Content
Menu
This question has been flagged
3 Replies
3634 Views

Testing V13 to V15 migration. Enterprise edition. 

Headers amb footers are missing of all our reports. 

In the menu Settings/ Configure document Layout, we can see the headers and footers OK.

However, when we try to "download PDF preview" headers and footers doesn't appear





Avatar
Discard

I have the same problem here but from my side I didn't migrate from 13, I just running it on 15 with fresh setup.

Estaré ausente de la oficina. Regreso el día 05/08/2024
Atenderé el correo a mi vuelta.
Si se trata de algo urgente, por favor, contactar con mis compañeros al teléfono 973 22 34 91


---
Josep Anton Belchi.

Best Answer

For My case, I solved it by installing wkhtmltox-0.12.4 version. If you're in the linux(22.04.1) local , then you may follow the code if still not solved;

sudo su
cd /opt
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
mv wkhtmltox/bin/wkhtmlto* /usr/bin/

or you can also install wkhtmltopdf 0.12.3;

cd /opt/
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
cp wkhtmltox/bin/wk* /usr/local/bin/
Note: don't forget to check the version after installing.
wkhtmltopdf --version

Thanks

Avatar
Discard
Author

You are right. It's about the version of wkhtmltopdf.
In my case, I installed the package wkhtmltox_0.12.5-1.stretch_amb64.deb, and everything is fine.

Best Answer

If you get colors mean your css stylings are applied so its not issue about the package. Its  issue related to page format just adjust the HEADER SPACING for A4 page and its works and you need to adjust external_layout_standard XML too (like adding padding-top to t-call="web.address_layout").

Avatar
Discard
Best Answer

 I faced the same issue now i removed the old package of wkhtmltox_0.12.5 but i can not find the proper way to install wkhtmltox_0.12.5-1.stretch_amb64.deb .

Im upgrade from odoo 13 to 16 enterprise

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 15
4664
5
Jul 25
2189
2
Mar 24
2721
0
Nov 22
2943
0
Sep 17
5259