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

hi,

i am a Odoo community edition user, i am using invoice app for making invoices, but it says that "Unable to find Wkhtmltopdf on this system. The PDF can not be created." the reason I found is the 'W' is in small letter, so the system is not converting the invoice to PDF, how can i solve this issue, please reply

形象
丢弃
最佳答案

Hi,

If the reports are not getting printed as PDF and instead it is showing in the screen with the above warning, then you have to install Wkhtmltopdf package in your system.

To install Wkhtmltopdf see,

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

Reference:

1.  Installing Wkhtmltopdf

2. Install wkhtmltopdf & wkhtmltoimage on Ubuntu 20.04|18.04 / Debian 10|9


Thanks

形象
丢弃
编写者

so it is actually downgrading Wkhtmltopdf ?

最佳答案

Hi,

This is the issue may be causing due to the wkhtmltopdf package issue. Please uninstall you 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


Hope it helps

形象
丢弃
编写者 最佳答案

when i am giving the command "Wkhtmltopdf" it says error, but when I am giving the command "wkhtmltopdf" it is working perfectly in my terminal. but it again says that very same error....
please help

形象
丢弃
相关帖文 回复 查看 活动
3
3月 25
9843
0
3月 24
1298
0
10月 17
3991
0
3月 15
3825
1
3月 15
3893