跳至内容
菜单
此问题已终结
3 回复
3775 查看

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





形象
丢弃

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.

最佳答案

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

形象
丢弃
编写者

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.

最佳答案

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

形象
丢弃
最佳答案

 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

形象
丢弃
相关帖文 回复 查看 活动
1
4月 15
4797
PDF reports 已解决
5
7月 25
2411
2
3月 24
2957
0
11月 22
3093
0
9月 17
5398