Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04 Odoo17 wkhtml issue #410

Open
verityworks opened this issue Feb 26, 2024 · 6 comments
Open

Ubuntu 22.04 Odoo17 wkhtml issue #410

verityworks opened this issue Feb 26, 2024 · 6 comments

Comments

@verityworks
Copy link

The current Odoo17 script doesnt work 100% regarding whtmltopdf
It generates a pdf but without header or footer.

Any ideas how to fix this?

@verityworks
Copy link
Author

I think I fixed it by uninstalling wkhtml first.
Then in downloaded and installed this version from the official github page
wkhtmltox_0.12.6.1-2.jammy_amd64.deb

@schwahue
Copy link

hmm .... may the script's wkhtml need to be updated too

@ShramdeepKc
Copy link

Install wget utility package

sudo apt update
sudo apt install wget

Install wkhtmltopdf on Ubuntu:
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb

sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb

sudo apt-get install -f
you can follow above steps

@qriiz112
Copy link

qriiz112 commented Mar 6, 2024

wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
mv wkhtmltox/bin/wkhtmlto* /usr/bin/
ln -nfs /usr/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf

this will fix, its downgraded version with patched qt.
restart odoo services after upgrade

@danayen
Copy link

danayen commented Apr 3, 2024

download and install manually:
select version: odoo 17: https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb
apt install /wkhtmltox_0.12.6.1-3.jammy_amd64.deb

enjoy it.

@Safi-Github
Copy link

thanks alot Mr. ShramdeepKc.
thats worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants