跳至内容
菜单
此问题已终结
2 回复
3226 查看

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.



/

形象
丢弃
最佳答案

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?

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
1月 24
862
2
4月 25
23579
1
9月 22
3222
0
8月 18
4840
1
3月 16
4588