Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
2822 Visualizações

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
Cancelar
Melhor resposta

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

so it is actually downgrading Wkhtmltopdf ?

Melhor resposta

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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
mar. 25
10902
0
mar. 24
1557
0
out. 17
4161
0
mar. 15
4026
1
mar. 15
4116