Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Food & Hospitality
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Guest House
    • Distribuidor de bebidas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consulting
    • Accounting Firm
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Trades
    • Handyman
    • Hardware y asistencia informática
    • Solar Energy Systems
    • Zapatero
    • Servicios de limpieza
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Odoo 11 CE barcode not printing wkhtmltopdf

Suscribirse

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

Se marcó esta pregunta
barcodewkhtmltopdfodoo11community
3 Respuestas
7551 Vistas
Avatar
Alain Van Utterbeeck

I have a report to print labels, in it I have:

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', label.default_code, 600, 150)" style="width: 40mm;height: 12mm;horizontal-align: center"/>

On the report the barcode is not printed (a blank area), but if I change the report type to html, then it works fine and the barcode is displayed on the screen, but I need it in PDF of course for printing.

I tried with wkhtmltopdf versions: 0.12.1 , 0.12.3 , 0.12.4 , 0.12.5

What could be wrong?


0
Avatar
Descartar
Cybrosys Techno Solutions Pvt.Ltd

Reportlab is properly installed (in html the label with barcode is displayed correctly, testing /report/barcode... in browser works fine), so I think the problem is not the same, I believe it is actually related to wkhtmltopdf.

Avatar
Alain Van Utterbeeck
Autor Mejor respuesta

Found this: https://github.com/odoo/odoo/issues/3234 -->

Another thing to check is that the 'web.base.url' system parameter is set correctly - it's especially easy to get caught out by this if you've changed the default XML-RPC port. I've got Nick-OpusVL to thank for highlighting this little gotcha: #1105

So  I corrected report.url and web.base.url because those were still pointing to the production environment instead of this new testenvironment: solved my problem

0
Avatar
Descartar
Ahmed Salah

Can you explain

OdooBot
- try in your browser:  http://localhost:8069/report/barcode/Code128/test-0001
does that show the barcode:
yes-> check system parameters
no-> install reportlab

system parameters:
set report.url to http://127.0.0.1:8069

That's what solved it for me.

On Thu, May 9, 2019 at 1:07 PM Ahmed Salah <ahmedodoo11@gmail.com> wrote:

Can you explain

Sent by Odoo S.A. using Odoo.



--
Alain Van Utterbeeck

ODOO Developer


 

DR Gaming Technology Europe nv/sa
Office: +32 50 60.81.85 | Cell: +32 485.69.37.90


–––––––––––––––––––––––––––––––––
–


DISCLAIMER


This e-mail is from DR Gaming Technology nv/sa located in Belgium (BE).The messages you send and/or receive are transmitted via the Internet. It is therefore impossible for us to guarantee the confidentiality, accuracy and completeness of data and/or documents that are sent by electronic mail and we accept no liability for consequences and/or damage whatsoever related to data and/or documents which are thus communicated. The information in this e-mail is confidential and intended solely for the person to whom it is addressed. If this message is not addressed to you, please be aware that you have no authorisation to read the content of this e-mail, to copy it or to furnish it to any person other than the addressee or take any action in reliance on it. Should you have received this e-mail by mistake, please bring this immediately to the attention of the sender, after which you are kindly requested to destroy the message and not to disclose or disperse its content. Only when this message is supported by lawfully signed documents can any rights be derived from the content of this message with regard to DR Gaming Technology nv/sa.

Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

Hi,

Check whether the Python package reportlab is installed or not. If not install it and also refer this similar question already asked and solved: https://www.odoo.com/forum/help-1/question/the-barcode-is-not-displayed-in-qweb-report-odoo-92297


Thanks

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How to resolve dependency issue of Wkhtmltopdf in Ubuntu 18.0? Resuelto
wkhtmltopdf odoo11community
Avatar
Avatar
Avatar
5
abr 19
19011
Can I remove the "Product Barcode Lookup" module from my database? Resuelto
barcode
Avatar
Avatar
Avatar
2
sept 25
711
How can I customize product labels to show additional information?
barcode
Avatar
Avatar
Avatar
2
sept 25
945
Odoo #V17 and #V18 QWeb template with web.internal_layout : the report throws the error UserError odoo.exceptions.UserError #Wkhtmltopdf failed (error code : -10)
wkhtmltopdf
Avatar
0
mar 25
3316
ir_actions_report.py in _run_wkhtmltopdf raise UserError odoo.exceptions.UserError Wkhtmltopdf failed ( error code : -10)
wkhtmltopdf
Avatar
1
mar 25
3265
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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