Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2693 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

so it is actually downgrading Wkhtmltopdf ?

Mejor respuesta

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
mar 25
10392
0
mar 24
1418
0
oct 17
4070
0
mar 15
3917
1
mar 15
3974