Whhtmltopdf error

Whhtmltopdf issue in odoo.

Error Message :

wkhtmltopdf: b"The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored

Solution:

##Remove wkhtmltopdf if it is already installed.
sudo apt remove wkhtmltopdf
cd ~
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox*.tar.xz
sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig

For more insights and professional Odoo Community/Enterprise implementations, connect with us at hashcodeit.com or drop an email at info@hashcodeit.com, +971545975212.  Transform your Odoo journey with precision and expertise!

Comments

Popular posts from this blog

Odoo 17 - large database restore error

Complete Guide to Installing Odoo 17 on Digital Ocean with Ubuntu 22.04