Odoo Help


How to use Barcode without EAN13?

on 4/15/13, 1:56 PM 13,366 views

We want to print internal Product Barcodes because we do not need EAN Numbers for our Products. But it's not working when i put it into the Products "Internal Reference" Field. (example code: BX06WO01)

When i enter this number into the Product/"Internal Reference" Field and "Print Product Label" our Barcode Scanner can not read the printed code, generated from Open ERP.

Is it possible to export and scan a code like BX06WO01 or do we have to buy EAN13 Barcodes?

thanks. Michi


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 4/17/13, 12:26 AM

Do you mean you need this printed in a PDF?

You can add a line like:

<barCode code="code128" fontName="Times-Roman" fontSize="50" alignment="CENTER"> [[ o.name or '' ]] </barCode>

. . . in the RML of a Sales Order to print the SO number.

code is one of these:

[ I2of5 | Code128 | Standard93 | Extended93 | Standard39 | Extended39 | MSI | Codabar | Code11 | FIM | POSTNET | USPS_4State ]

Great tip Ray, but I have small question, is it possible to store barcodes with these incodings (e.g save the barcode '15649' instead of ean13 '5901234123457' in the product form view)? if yes, what should I do?

Smart Way Business Solutions, Anas Taji
on 5/8/13, 11:10 PM

The EAN13 field has validation, so if you want to store something else you will need another field. If you add your own field (either via the UI or via a module) you can store a numeric value. The example I gave generates a barcode from a series of values like SO002. If you want more help, please ask a new question, rather than expand this one.,

Ray Carnes
on 5/9/13, 12:03 AM

Mohammad Alhashash

--Mohammad Alhashash--
| 5 5 8
Giza, Egypt
--Mohammad Alhashash--


Mohammad Alhashash
On 4/15/13, 3:43 PM

Any barcode other than EAN13 is not currently supported in the official OpenERP v7 Point Of Sale.

The keyboard listener collects 13 digits which is then validated as ean13 by the check digit.

To support other barcode types, you need to modify the barcode capturing methods in addons/point_of_sale/static/src/js/devices.js in the web module.

BTW, you do not need to "buy" EAN13 barcodes to use it. For internal uses, you can use any "Restricted distribution" prefix listed in the EAN13 Prefix List. Just do not use any prefix from (21, 22, 23, 041, 042); these are used by OpenERP POS as described in this answer. For example, you can use codes like 277XXXXXXXXXC where Xs are any digits and C is the calculated check digit.

thanks, this is helping.

on 4/16/13, 12:31 PM

but the question was, how to print the code without EAN13 including a combination of digits and letters.

on 4/16/13, 3:14 PM

Now i'm getting somewhere, can you possibly explain how to get my scanner or other devices to connect to proxy and proxy to connect to server. I now know i need a proxy to communicate, but where is it. How do i activate / install / configure it to work between client and server.

Fritz Schlechter
on 8/22/13, 11:45 PM
On 4/16/13, 3:11 PM

I tested to scan our code with CODE 128 Instead of EAN13. Code 128 supports also letters and it works well with our hand scanner!

So, is there a way to tell open erp to print CODE 128 from product view, instead EAN13?


I thought you were asking about POS barcode support. You do not need any special support to fill a form using any barcode as the scanner just acts as a keyboard. In that sense, Windows Notepad support anybarcode in the world.

If you plan to use the POS, only EAN13 is supported.

Mohammad Alhashash
on 4/16/13, 5:02 PM



| 3 2 6
Gandhinagar, India

Having 8+ years of OpenERP Experience. We are Specialized in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.

Skype : acespritech

Email : info@acespritech.com

On 4/17/13, 4:56 AM

There are some code in PY, Javascript in Point of Sale in device.js
We have created a web addon for this feature.

Contact: info@acespritech.com,
Skype: acespritech

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/15/13, 1:56 PM
Seen: 13366 times
Last updated: 8/20/15, 2:56 AM