Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
2817 Tampilan

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

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

so it is actually downgrading Wkhtmltopdf ?

Jawaban Terbai

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

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mar 25
10880
0
Mar 24
1552
0
Okt 17
4158
0
Mar 15
4024
1
Mar 15
4113