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

As the title says, I can't figure out why this is happening. 

Things that I have checked and done:

  • Checked system parameters
    • report.url = http//:127.0.0.1:8069 (tried with domain name as well)
    • web.base.url is https://www.my-domain.com/web/image/**** testhttps.pdf and http://127.0.0.1:8069/*/*/** testlocal.pdf
    • Both files did not show the logo
  • curled into the link for the image and returned 200 content-type image/png
  • The image shows in incognito
  • Nginx config is how it should be
    • Tried with/without x_sendfile
    • Nginx odoo.access.logs are showing no errors
Ảnh đại diện
Huỷ bỏ
Tác giả

It appears I'm in need of a patched version of wkhtmltopdf which I have tried and they do not work on ubuntu 22.04 because libssl1.1 is required for the patch, but it is not installable. Is there any workaround?

Tác giả

I found one that worked with ubuntu 22.04 here https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb... logo in header is still not appearing in the downloaded file.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
1115
1
thg 5 25
1430
0
thg 7 24
1004
1
thg 7 23
4047
1
thg 7 17
3536