İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
25464 Görünümler

I am working on odoo15 and install it in my windows and got the following warning:
'Unable to find Wkhtmltopdf on this system.' How can I resolve it?

Avatar
Vazgeç
En İyi Yanıt

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


Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015


Avatar
Vazgeç

It Worked for Me! Thanks

En İyi Yanıt

Hi @Abdus Sattar Bhuiyan

Install wget package

sudo apt update
sudo apt install wget

Wkhtmltopdf package install on ubuntu:

sudo apt-get install -y wkhtmltopdf

this command install an outdated wkhtmltopdf and odoo generate a wrong pdf (with 0 byte ) and popup error saying to update to the new wkhtmltopdf.


The solution is to upgrade ” wkhtmltopdf ” For ubuntu 64-bit.

(1)Download wkhtmltopdf version from WKHTMLTOPDF depending on your system arch (32 or 64 bit

sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

(2) Install the downloaded package as:-

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

(3) Copy files as:-

sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin

(4) Restart Odoo server and then try again.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 22
3671
1
Ara 24
1246
2
Ağu 24
3654
1
Oca 24
1147
2
Eki 23
2878