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
    • Conocimientos
    • 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
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • 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

How can I include a barcode on a check?

Suscribirse

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

Se marcó esta pregunta
reportsbarcodes
2 Respuestas
5734 Vistas
Avatar
Nate Foster

I wish to include a barcode on my printed checks.  The barcode will be the suppliers reference number. 

Using OpenOffice to edit my check (Accounting Voucher - Print Check (Bottom)) I've added the following line: 

[[<barCode code="code128" barHeight="30">voucher.reference</barCode>]]

This code prints nothing. 

I've also tried:

[[<barCode code="code128" barHeight="30">[[voucher.reference]]</barCode>]]

Which prints:  </barCode>]]

What am I doing wrong?  Many Thanks!

Nate

0
Avatar
Descartar
Nate Foster
Autor

My apologies for not including my platform information. I'm running OpenERP 7 on Debian Wheezy. I'm using the OpenOffice Report Designer (base_report_designer).

Avatar
Fabrice Henrion (fhe)
Mejor respuesta

The answer to your question depends on which version of Odoo you are using, which report engine you are using, and what kind of barcode you want to display. I'm going to assume v7.0, RML, and UPC128.

The reason it doesn't work is because the UPC128 font (a barcode is a font) is not supported by the ReportLabs implementation used in Odoo 7.0. If you want to achieve this, you need to implement UPC128 in ReportLabs the same way EAN13 and a few others are. This is quite technical. The alternative is to get on Odoo Online to benefit from the new QWeb report engine. You will be able to use different fonts more easily. Otherwise, wait for v8 if you absolutely need to deploy on premise.

0
Avatar
Descartar
Nate Foster
Autor

My apologies for not including my platform information. I'm running OpenERP 7 on Debian Wheezy. I'm using the OpenOffice Report Designer (base_report_designer) for my reporting engine. Interestingly, I can generate product labels with barcodes on them, which makes me think everything I need should be there. Perhaps this would be the quite technical way your talking about. I've held off on going to version 8 because OpenERP/Odoo seems to be heading down a path where they are withholding or depreciating key functionality to encourage users to use the SaaS version. One example would be the ability to easily add a module (and not use Odoo's server) from the GUI in v6 is missing in v7. Also not providing the scripts to allow people to easily move to the next version seems to really not be in the spirit of opensource. Nate

Fabrice Henrion (fhe)

- Your code sample shows that you are trying to use UPC128 barcodes. This is different than the default product labels available out-of-the-box that are using EAN13 barcodes. This seems to be the reason why one works and the other doesn't.
- What was possible in v6 is still possible in v7. What was possible in v6 was to install modules that are located in your addons folder from the UI. This is still possible in v7. The problem in v6 is that users would go online, download modules they would find here and there, import them, install from the UI, then complain because they get errors. The reason is because they didn't make sure that the version of the module they downloaded was compatible with the versions of all the other modules, nor that they had downloaded all the required dependencies of the modules they wanted to install. We could then hear "Odoo doesn't work". The way to solve this was to set up a service platform (the Apps platform) that Odoo maintains and ensures to users that they will not face such problems. This is a service, Odoo charges for it. If you don't want to pay for it, you are still free to do everything like in v6 (with the risk of facing errors if you don't know precisely what you are doing).
- The spirit of open source is free as in freedom, not free as in free services. More information here: https://www.odoo.com/blog/1/post/119

Nate Foster
Autor

So could I include an EAN13 barcode easily? I don't think my barcode scanner will care between the two formats. My other thought was to use the Free3of9 barcode font. I totally get the free does not mean free services. I just feel sometimes that Odoo purposefully encumbers the "free software" to the service. As far as differences between importing modules between 6 & 7, it seems a better way could of been found. In version 7 you are limited to using the app service, or a really complex manual install. Regardless I obviously like the product and am wanting to contribute code when and where I can. I just want to make sure that my contributions will be made freely available to others.

Avatar
ahmad
Mejor respuesta

you can use pyBarcode, a python library to generate the barcode image.

 

0
Avatar
Descartar
Nate Foster
Autor

Thanks Ahmad. Initially this seems like a great ideal, however, when I start thinking about how to implement it, it would seem that it would make the check printing process much more complex. I'm assuming pyBarcode will generate a graphic file and then that file will somehow need to be referenced on the check.

¿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
Code for page number in Body of Pdf report
reports
Avatar
Avatar
Avatar
2
oct 25
3212
How to increase the width of a column on odoo quotation PDF?
reports
Avatar
Avatar
1
oct 25
1028
Odoo Online (SaaS 18.4 Enterprise) – How to modify invoice report header without affecting other reports but keep default table content
reports
Avatar
Avatar
1
ago 25
1629
Odoo .SH V17 how do I migrate a report from staging to production?
reports
Avatar
Avatar
1
abr 25
2342
List of Sales in a Report
reports
Avatar
Avatar
1
jul 24
2691
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