Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

wkhtmltopdf on V8 not found

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
v8reportwkhtmltopdf
16 Respuestas
48471 Vistas
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
Descartar
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
Mejor respuesta

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
Descartar
Emipro Technologies Pvt. Ltd.

Thank you So much !

Avatar
Ivo verlaek
Mejor respuesta

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
Descartar

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 Mejor respuesta

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
Descartar
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
Mejor respuesta

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
Descartar
Avatar
Mathieu Laflamme
Mejor respuesta

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
Descartar
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
Mejor respuesta

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
Descartar
Avatar
Ben Bernard
Mejor respuesta

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
Descartar
Avatar
Jean Marc Le Goff
Mejor respuesta

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

0
Avatar
Descartar
Avatar
Landis Arnold
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Problem in printing pdf reports v8
v8 report
Avatar
Avatar
Avatar
Avatar
5
jun 17
9874
How to give custom name to pdf file with Qweb XML Report in Odoo v8?
v8 report
Avatar
Avatar
Avatar
5
nov 16
7791
How to create a report with a measure of type char?
v8 report
Avatar
0
ago 16
5869
Daily resume report
v8 report
Avatar
Avatar
2
jun 16
4501
Wkhtmltopdf failed (error code: -11) Resuelto
report wkhtmltopdf
Avatar
Avatar
Avatar
Avatar
4
ene 24
17530
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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