Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
3632 Vistas

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
Descartar

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.

Mejor respuesta

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
Descartar
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.

Mejor respuesta

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
Descartar
Mejor respuesta

 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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 15
4663
PDF reports Resuelto
5
jul 25
2187
2
mar 24
2717
0
nov 22
2942
0
sept 17
5257