Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2867 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
мар. 25
11047
0
мар. 24
1600
0
окт. 17
4205
0
мар. 15
4079
1
мар. 15
4161