Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

wkhtmltopdf on V8 not found

Odoberať

Get notified when there's activity on this post

This question has been flagged
v8reportwkhtmltopdf
16 Replies
48453 Zobrazenia
Avatar
Christian Parent

I have downloaded v0.12 from wkhtmltopdf site, extrated the file to usr/bin.

I have created a record

Settings > Configuration > Parameters > System Parameters name ‘webkit_path’ set the value to /usr/bin/wkhtmltopdf/ tried /usr/bin/wkhtmltopdf/bin/

still I am getting an error saying it is not found when I try to print a report.

Any ideas ?

4
Avatar
Zrušiť
Christian Parent
Autor

This is the exact error message I am getting

Unable to find Wkhtmltopdf on this system. The report will be shown in html.

Still, I dont even get it in html.

Avatar
Craig Barnes
Best Answer

The steps that I found to work for me on debian wheezy are:

wget   http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1-dev/wkhtmltox-0.12.1-9615f00_linux-wheezy-amd64.deb
dpkg -i wkhtmltox-0.12.1-9615f00_linux-wheezy-amd64.deb

Then in /etc/init.d/openerp-server add  /usr/local/bin to the front of path environment variable, e.g.
PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

Then restart openerp and all is well.

5
Avatar
Zrušiť
Emipro Technologies Pvt. Ltd.

Thank you So much !

Avatar
Ivo verlaek
Best Answer

Yes that did the trick for me:

Using Ubuntu 14.04:

  1. First install the one from the ubuntu library. The executable goes to /usr/bin.
  2. Then install the package from sourceforge with dpkg -i .deb filename. This will create (also) files in /usr/local/bin
  3. then just simply copy the file over the one in /usr/bin

I had to reboot to get it working. Probably a restart of the openerp-server also does the trick.

5
Avatar
Zrušiť

hey, i am getting this error while sending quotaion via email: Report (PDF) Wkhtmltopdf failed (error code: -6). Message: 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.QXcbConnection: Could not connect to display Do u know how to solve this?

Avatar
Christian Parent
Autor Best Answer

I have manage to get it to work by doing the installation of wkhtmltopdf in ubuntu via apt-get install.

I was getting wrong version message so, I then copy the wkhtmltopdf file from the archive from wkhtmltopdf website and replaced the file that ubuntu installed in /usr/bin/.

It does work properly now. Dunno if I will get issues later on since I have not replaced the libs that comes in the archive.

Will keep updating this if any issue arise !

2
Avatar
Zrušiť
Harold Poku

Hi Christian, I am facing a similar issue. Exactly which version of the wkhtmltopdf did you copy to the bin folder

Christian Parent
Autor

install wkhtmltopdf via ubuntu then, download the 0.12 version from wkhtmltopdf web site, open the archive and copy the file to the bin folder

Luke Branch

Hi Christian, I think you might find that there is no need to do an apt-get install of the older version of wkhtmltopdf. The 0.12 version being copied to /usr/bin should work, as I have it implemented in a script here (line #97): https://github.com/lukebranch/openerp-install-scripts/blob/master/odoo-saas4/ubuntu-14-04/odoo_install.sh . You may find you get conflicts down the road once the version you have installed with apt gets updated to the 0.12 version.

Avatar
Jonathan Juhasz
Best Answer

I made it work on Windows.

You have to follow this thread: https://www.odoo.com/fr_FR/forum/help-1/question/how-tu-print-a-pdf-with-qweb-wkhtmltopdf-v8-on-windows-tutorial-64326
The most important, do not confuse Environnement variables and System variables

We need do add the wkhtmltopdf path into Path System Variable and NOT in Environnement variables.
Do not forget to restart odoo server after this !

Thanks !

1
Avatar
Zrušiť
Avatar
Mathieu Laflamme
Best Answer

Anyone made it work on Windows? Where should I bind the binary...I put it in "PATH" variable... still no luck...

It gives me the same error and it loads in HTML.

I will eventually move to Linux... but Windows should work too right?

Thanks

0
Avatar
Zrušiť
Jonathan Juhasz

I made it work on Windows. You have to follow this thread: https://www.odoo.com/fr_FR/forum/help-1/question/how-tu-print-a-pdf-with-qweb-wkhtmltopdf-v8-on-windows-tutorial-64326 The most important, do not confuse Environnement variables and System variables We need do add the wkhtmltopdf path into Path System Variable and NOT in Environnement variables. Do not forget to restart odoo server after this ! Thanks !

Avatar
Istvan Steve Novak
Best Answer

THREE months past since this last question or request for an answer and no one replied from Odoo.... I am in the same trouble, installed Odoo v8 on Windows 8.1 Pro and cannot create any doc in pdf (nor in html) due to the same missing app (in spite of that I installed it manually. 

0
Avatar
Zrušiť
Avatar
Ben Bernard
Best Answer

I think I should make it clear that the OP problem is that he is inserting the directory path of wkhtmltopdf to the webkit_path option. The correct value is the path to wkhtmltopdf executable. Below is the example of the setting, depends on your installation path.

linux: webkit_path = /usr/local/bin/wkhtmltopdf

windows: webkit_path = c:\program files\wkhtmltopdf\wkhtmltopdf.exe

 

Other option is not to use webkit_path. It can be done if you put wkhtmltopdf executable in environment PATH or the same directory as openerp-server script. I think the webkit_path option is more secure and easier to maintain, because it determine specifically what odoo can execute.

0
Avatar
Zrušiť
Avatar
Jean Marc Le Goff
Best Answer

thank you Craig Barnes, it was the good way for me

0
Avatar
Zrušiť
Avatar
Landis Arnold
Best Answer

Using Turnkey Linux Postresql - Debian Wheezy-  got Sales Orders and Invoices to Work with the following using SSH - no navigation from login, just run after login----This was after being unable to generate a PDF of SO or Invoice without errors previously------

apt-get install xfonts-base

wget http://sourceforge.net/projects/wkhtmltopdf/files/0.12.2.1/wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb 

dpkg -i wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb

apt-get -f install

(Then Started Openerp Server) Odoo

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Problem in printing pdf reports v8
v8 report
Avatar
Avatar
Avatar
Avatar
5
jún 17
9869
How to give custom name to pdf file with Qweb XML Report in Odoo v8?
v8 report
Avatar
Avatar
Avatar
5
nov 16
7783
How to create a report with a measure of type char?
v8 report
Avatar
0
aug 16
5859
Daily resume report
v8 report
Avatar
Avatar
2
jún 16
4486
Wkhtmltopdf failed (error code: -11) Solved
report wkhtmltopdf
Avatar
Avatar
Avatar
Avatar
4
jan 24
17527
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now