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

When I want to print a report, such as an invoice, it prints without a header, footer, or logo. However, when I print to PDF using the l10n_AR module for Argentine accounting, it prints perfectly. This leads me to believe that there is no compatibility issue with wkhtmltopdf.

  • Ubuntu 22

  • Odoo 15 community

What solution exists for this bug?

I read in a blog that the problem could be the translation or the language of the template, as the system is being used in Spanish.



/

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

Hello.

I have the same problem. What are the correct addresses that need to be entered? For example, my website address is site.com. What should I enter in these fields?

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

Hi,

Please uninstall your current wkhtmltopdf package and install it again. You can use the below code
sudo wget

 https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb


sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo apt install -f

And also check the report URL sPlease verify that all the URLs in the system parameter is same as your URL Settings -> Technical -> parameters -> system parameters


On searching URL you can see the below options. verify the URLs are same as your URL


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 24
1338
2
thg 4 25
26770
1
thg 9 22
3935
0
thg 8 18
5474
1
thg 3 16
5212