InstallScript
InstallScript copied to clipboard
v15 problem with Wkhtmltopdf
no pdf
this error appears
Informe
Imposible encontrar Wkhtmltopdf en el sistema. El informe será mostrado en HTML.
wkhtmltopdf.org
Execute these steps:
sudo apt-get install xfonts-75dpi
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
Yeah I know, I still have to fix it for our newer scripts sorry ;(
Thank you Ivan
It works!
Yw
so recently installed a fresh test server on odoo 15 but i still get
Informe
Imposible encontrar Wkhtmltopdf en el sistema. El informe será mostrado en HTML.<br><br><a href="http://wkhtmltopdf.org/" target="_blank">wkhtmltopdf.org</a>
solved it for some reason had to be this version
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt install libpng12-0
and reboot the server
For V16 also look at https://askubuntu.com/a/1403683