Skip to Content
Menu
This question has been flagged
2 Replies
3133 Views

Hi All,

Can you please help me with why the qweb report header is not printing on every report

Avatar
Discard

Custom report? Have you set the paper format? If it's a custom report do you have the calss="page" in your report?

<t t-foreach="docs" t-as="o">

<div class="page">

Check your wkhtmltopdf version. It is recommended to use 0.12.1

Best Answer

update wkhtmltopdf

sudo apt-get remove wkhtmltopdf
sudo apt-get autoremove

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz

tar -xf {file_name}
sudo cp wkhtmltox/bin/wkhtmltoimage /usr/bin/
sudo cp wkhtmltox/bin/wkhtmltopdf /usr/bin/


restart odoo server/


reference

https://www.odoo.yenthevg.com/install-wkhtmltopdf-on-ubuntu/


Avatar
Discard
Related Posts Replies Views Activity
7
Apr 23
26600
1
Jan 24
422
1
Jun 23
2188
1
Apr 22
8014
1
Nov 21
4446