Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
4195 Lượt xem

Hi all


I noticed quite a few posts on the topic, so before creating a new one, I read through most of them. 

The thing is, often the advice is to install Wkhtmltopdf 0.2.15 with qt. However, according to the Odoo documentation (for what it's worth...), the 0.2.16 should be working fine for Odoo v16 and later (and hence odoo v17): https://github.com/odoo/odoo/wiki/Wkhtmltopdf

Secondly, I can't just install 0.2.15 anymore on Ubuntu 22.04 Jammy. It does not support libssl1.1 (moved to libssl13) and security wise I'm not allowed to.

Any ideas on a working solution? @cybrosys? 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Firstly, please check the version of wkhtmltopdf installed on your system by using the following terminal command:wkhtmltopdf --version

 To get the header and footer in the PDF reports the wkhtmltopdf with patched qt needs to be available,ie, For example:When you check the version of wkhtmltopdf like the example below, The output should include (with patched qt) along with the version number, like this:

wkhtmltopdf 0.12.5 (with patched qt)


Hope it helps

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

https://chatgpt.com/share/66e43fe4-d920-8003-a3e9-8b804f177c9a   try this i faced all error solve in this gpt


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

for jammy

sudo apt-get install xfonts-75dpi
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo apt --fix-broken install
rm wkhtmltox_0.12.6.1-2.jammy_amd64.deb 
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Try to download the latest package for your linux distro from 
https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
5018
3
thg 4 24
4974
11
thg 10 24
69761
13
thg 12 17
38410
0
thg 9 21
4862