Multiple barcodes on product packagings
This module allows you to define multiple barcodes on product packagings.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Lets you store several barcodes on a product packaging, not just one. The main barcode stays in sync with the first barcode in the list, and duplicate barcodes are blocked.
This module extends the barcode feature so a packaging (for example a box of 12 units) can have more than one barcode. On the packaging form, the existing "Main barcode" field becomes read-only and a new "Barcodes" list appears where you can add, order and remove barcodes. The first barcode in that list is shown as the main barcode.
When you save a packaging, its barcodes are stored as separate barcode records linked to the packaging. If you clear the main barcode, the linked barcode records are removed. A one-time update after installation copies existing packaging barcodes into the new barcode list.
Odoo checks that a barcode is not used twice: it cannot belong to both a product and a packaging, and the same barcode cannot be assigned to two products or two packagings. If a duplicate is found, an error message names the product or packaging already using it.
In the barcode list screen, a "Display Product" column shows the product linked to the barcode, either directly or through its packaging. You can search and group barcodes by that display product. The module works together with the multi-barcode and stock menu modules.
Required by other modules
Models and fields (2)
- product.barcode · extends an existing modelpackaging_id (Packaging), display_product_id (Display Product)
- product.packaging · extends an existing modelbarcode (Main barcode), barcode_ids (Barcodes)
Text generated by AI (DeepSeek) from reading the Odoo 16.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-barcode.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0A list of barcodes is available for each product packaging with a priority, so a main barcode code is defined.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.