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

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





Imagine profil
Abandonează

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.

Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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.

Cel mai bun răspuns

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").

Imagine profil
Abandonează
Cel mai bun răspuns

 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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 15
4809
PDF reports Rezolvat
5
iul. 25
2419
2
mar. 24
2973
0
nov. 22
3114
0
sept. 17
5406