OdooWiki OCA HUB

Multiple barcodes on products

product_multi_barcode folder_open OCA/stock-logistics-barcode open_in_new
Product Management License: AGPL-3

This module allows you to define multiple barcodes on products.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets users store several barcodes on each product instead of only one, and keeps the existing single barcode field in sync with the first barcode in the list.

This module adds a barcode list to products so that one item can be identified by more than one barcode.

Where it appears: - On the product form and the product variant form, a new editable "Barcodes" list is shown right after the barcode field, with a drag handle to set the order. - On the product template form the list is only shown when the template has a single variant. - In the product search view, a "Barcodes" field is added so products can be searched by barcode.

Business rules and automatic behaviour: - The standard barcode field becomes read-only and is computed from the first barcode in the list (ordered by sequence). Editing it through other means writes the value back into the barcode list. - A barcode cannot be used twice: saving a duplicate raises an error naming the product and company that already use it. - Each barcode record is linked to a product and its template, and the company is taken from the product. - When the module is installed, existing single barcodes on products are copied into the new barcode list.

It touches the product, product variant and product template areas, plus a new barcode record type, and all internal users can read, create, edit and delete barcode entries.

Depends on

product
Models and fields (3)
  • product.barcode · new modelname (Barcode), sequence, company_id, product_id (Product), product_tmpl_id
  • product.product · extends an existing modelbarcode (Main barcode), barcode_ids (Barcodes)
  • product.template · extends an existing modelbarcode_ids (Barcodes)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-barcode.

terminal Installation and usage

OCA documentation · Odoo 19.0

A list of barcodes is available for each product with a priority, so a main barcode code is defined.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.