Skip to Content
Retour aux modules
Inventory

Auto Barcode Generator for Products

Every new product gets a unique barcode automatically: variants, imports and API included, typed barcodes kept.

20.0 19.0 18.0 17.0 16.0
Auto Barcode Generator for Products
Auto Barcode Generator for Products

Présentation du module

Nalios
Odoo Gold Partner · Belgium

/ Odoo 20 · Inventory

Auto Barcode Generator

Every new product gets a unique barcode the moment it is saved. No button, no sequence to manage, no forgotten labels — your warehouse can scan it right away.

Zero configuration Variants included Imports & API Never overwrites Odoo.sh & On Premise

What it does

Products without barcodes, gone for good

Missing barcodes block reception, picking and label printing. This module closes the gap at the source: on product creation.

Filled on save

Create a product without a barcode and Odoo assigns a 13-digit numeric code as soon as you save. Nothing to click, nothing to train.

One code per variant

Products generated from attributes (colour, size...) each receive their own barcode, so every variant can be scanned individually.

Every creation channel

Manual form, CSV import, duplication, e-commerce connector or API call: the rule lives in the product model, so no channel slips through.

Your codes stay yours

A barcode typed by a user or present in your import file is kept untouched. The module only fills the empty ones.

Product form: the barcode is generated automatically when the product is saved

Setup

Install it. That is all.

1

Install the module

It only depends on Products. No settings, no new menus, no data to prepare.

2

Create products as usual

From Inventory, Sales, Purchase, an import or an integration — nothing changes for your users.

3

Scan and print

The barcode is on the product form and on every variant, ready for labels, receptions and the Barcode app.

Product variants list: each variant received its own unique barcode

Under the hood

How it works

TriggerProduct variant creation (product.product), whatever the origin: form, import, duplication, API.
Format13 numeric digits by default, left-padded with zeros. Codes are random, not sequential.
LengthNeed shorter or longer codes? Set the system parameter auto.barcode.size (developer mode) to the number of digits you want.
UniquenessEach new code is checked against the barcodes of existing active products before it is assigned.
Existing productsProducts created before installation are left as they are.
FootprintNo new field, no view, no menu. One dependency: product.

Using GS1 EAN-13 codes?

Generated codes are internal numeric barcodes: they carry no GS1 company prefix and no EAN-13 check digit, and Odoo prints them as Code 128 on labels. If you sell through retailers who require registered GS1 codes, keep encoding those — the module will never overwrite them.

A question? A problem? Talk to the people who built it.

We will get back to you within 8 business hours.

Contact us

Email us directly at

[email protected]

Published by

Nalios — Odoo Gold Partner, Belgium — nalios.be