GS1 Barcodes
This module provides an API to decoding the content of structured barcodes like GS1-128 or GS1-Datamatrix.
GS1-128 (formerly known as UCC-128, EAN 128 or UCC/EAN-128), and GS1-Datamatrix are standards for encoding item identification and logistics data. Physically, GS1-128 is represented as a 1-dimension Code-128 barcode and GS1-Datamtrix is represented as a 2-dimensions Datamatrix barcode.
When those barcodes are read, their content can be decode into multiple values using a set of standard "Application Identifiers". For example, most pharmacy items have a GS1-Datamatrix barcode containg their GTIN, lot number and expiry date.
This module does not directly allow you to print or scan barcodes. Instead, the focus of this module is on decoding the data contained in barcodes. To this end, it provides objects to fine-tune the Application Identifiers and the associated data types.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0This module provides the technical ability to decode GS1-128 and GS1-Datamatrix barcodes into their individual data fields, such as product numbers, lot numbers, and expiry dates. It adds a configuration screen to manage the list of recognised barcode identifiers and per-user scanner settings.
This module does not print or scan barcodes itself; it gives Odoo the ability to understand the data inside GS1-128 and GS1-Datamatrix barcodes. When a barcode string is passed to the decoder, it is split into its individual pieces using standard Application Identifiers (AIs), and the result is returned as a set of values keyed by those identifiers.
Users with administrator rights can open the new "GS1-128/GS1-Datamatrix Decoding" menu (under a configuration menu) to see and maintain the list of supported Application Identifiers. Each entry shows the identifier code, a description, whether the data has a fixed or variable length, the minimum and maximum length, whether a decimal indicator is expected, and the data type (text, number, or date). The list is pre-filled with many standard identifiers, including product numbers, batch/lot numbers, serial numbers, production and expiry dates, weights, dimensions, and customer order references.
Each user also gets a new "GS1-128/GS1-Datamatrix barcodes" tab on their user form, where they can set the prefix their scanner sends and the character used as the group separator. The decoder uses these personal settings when reading a barcode, and it raises a clear error if the barcode does not start with the expected prefix, contains an unknown identifier, or has an incorrect value. Dates are converted to Odoo's standard date format, and numeric values can be adjusted by a decimal indicator.
Depends on
Required by other modules
Menus it adds
Models and fields (2)
- res.users · extends an existing modelgs1_barcode_prefix (Prefix), gs1_barcode_separator (Group Separator)
- gs1_barcode · new modelai (Application Identifier), name (Description), decimal (Decimal Indicator), data_type, length_max (Maximum Data Length), length_min (Minimum Data Length), length_fixed (Fixed-length Data)
Text generated by AI (DeepSeek) from reading the Odoo 15.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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-barcode.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0You can use the functionality provided by this module in your own customization or other OCA modules.
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.