Skip to Content
Menu

Auto EAN13 Barcode Generator

by
Odoo

4.99

v 18.0 Third Party 1
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 32
Technical Name auto_ean13_barcode
LicenseLGPL-3
Websitehttps://zadflows.com
Versions 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 32
Technical Name auto_ean13_barcode
LicenseLGPL-3
Websitehttps://zadflows.com
Versions 17.0 18.0
Auto EAN13

Auto EAN-13 Barcode Generator

Automatically generate valid EAN-13 barcodes for products on creation

Auto EAN13 barcode generator preview
Odoo 18 Inventory / Product POS-ready No configuration

Generate on Create

When a product is created without a barcode, a valid EAN-13 is assigned automatically.

GS1 Check Digit

Uses the standard EAN-13 checksum so codes scan correctly in POS & Inventory.

Unique Sequence

Backed by an ir.sequence with prefix 90 to ensure uniqueness.

Non-intrusive

Won’t overwrite existing barcodes; it only fills when the field is empty.

How it works

  1. Create a new product (Inventory → Products).
  2. Leave the Barcode field empty and save.
  3. The module fetches the next number from auto_ean13_barcode.seq_product_ean13, pads to 12 digits (prefix 90 + sequence), calculates the EAN-13 check digit, and writes it to barcode.
  4. Use the product in POS/Inventory—your barcode is ready to scan.

Compatibility

Odoo Version Edition Status
18.0 Community & Enterprise Supported

Installation

  1. Install dependency: product (comes with Inventory).
  2. Upload the module folder auto_ean13_barcode to your addons path.
  3. Update Apps list and install.

Configuration (optional)

The default sequence is created as Product EAN-13 with:

  • Prefix: 90
  • Padding: 10 (so prefix + padding → 12 digits base)
  • Next number: 1000
  • Increment: 1

You may adjust the sequence (Settings → Technical → Sequences) to fit your internal numbering policy.

Important:
  • Generated EAN-13 codes are technically valid and unique in your database, but not GS1-registered. For retail that requires GS1 prefixes, obtain official ranges from your local GS1 member organization.
  • The module sets the barcode on product.template at creation time. Existing products are unaffected unless edited and saved with an empty barcode.

FAQ

Will it overwrite barcodes I already have?

No. If a value is present in the barcode field, the module does nothing.

Does it work with POS and Inventory?

Yes. Barcodes are standard EAN-13 and work out-of-the-box with Odoo’s POS and Inventory flows.

Can I change the numbering range?

Yes. Edit the Product EAN-13 sequence (prefix, padding, next number) under Technical → Sequences.

Support

Need help or a customization? Contact ZAD FLOWS.

© ZAD FLOWS — License: LGPL-3

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.