Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
3717 Tampilan

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
Buang

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.

Jawaban Terbai

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
Buang
Penulis

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.

Jawaban Terbai

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
Buang
Jawaban Terbai

 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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 15
4712
PDF reports Diselesaikan
5
Jul 25
2308
Wrong PDF Format Diselesaikan
2
Mar 24
2836
0
Nov 22
3040
0
Sep 17
5326