跳至內容
選單
此問題已被標幟
3 回覆
9088 瀏覽次數

hello,

I have problem when i print report pdf , because the footer and header are missing and the format of paper is ugly.

頭像
捨棄
最佳答案

please make sure that correct version of wkhtmltopdf you are using.

please try following steps in order for(ubutnu):

sudo apt-get remove - auto-remove wkhtmltopdf
sudo apt-get purge - auto-remove wkhtmltopdfsudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.1.3-1 ~ bionic_amd64.deb
sudo apt-get install -f
sudo ln -s / usr / local / bin / wkhtmltopdf / usr / bin
sudo ln -s / usr / local / bin / wkhtmltoimage / usr / bin


頭像
捨棄
最佳答案

Trying to adding <t t-call="report.external_layout">

頭像
捨棄
最佳答案

Please check if you have properly installed the proper version of wkthmltopdf according to the official installation documentation.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
11月 20
6563
1
1月 24
5009
1
8月 19
15092
0
1月 24
1543