Barcode Nomenclatures in Odoo 18
By Braincuber Team
Published on December 28, 2025
Warehouse managers scanning barcodes getting wrong products create fulfillment disasters: scanner reads weighted produce barcode "2100012340056" but system doesn't know "21" prefix means product code follows so treats entire string as unknown product, another barcode scans as different item because UPC-12 vs EAN-13 format not converted causing inventory duplicates, and GS1 barcodes with embedded lot/expiry data ignored because nomenclature not configured—creating picking errors, shipment delays, and inventory chaos from barcode misinterpretation.
Odoo 18 Barcode Nomenclatures enable intelligent barcode interpretation with pattern-based rules defining barcode structure, automatic format conversion (UPC↔EAN), support for EAN-13/EAN-8/UPC-A/GS1-128 standards, weighted product decoding (prefix+product+weight), lot/location/package type recognition, Stock Barcode Database auto-lookup for product details, and custom nomenclature creation—transforming barcode scans into accurate inventory actions without manual lookup or interpretation errors.
Nomenclature Features: Pattern-based rules, Format auto-conversion, Multi-standard support (EAN/UPC/GS1), Weighted product handling, Lot/location recognition, Product auto-lookup, Custom rules
How Odoo Interprets Barcodes
Barcode nomenclatures define interpretation rules using:
- Predefined patterns: Regular expressions specifying barcode structure
- Prefix recognition: "21" prefix = weighted item with product code + weight
- Field mapping: Match barcode segments to product fields
- Standard formats: EAN, UPC, GS1 support
Example: Barcode "2100012340056" with nomenclature rule "21" prefix = 5 digits product code (00123) + 5 digits weight (40056 = 4.0056 kg). System creates delivery for Product #123 weighing 4kg.
Default Nomenclature Setup
- Go to Inventory → Configuration → Settings
- Enable Barcode Scanner
- Select Default Nomenclature
- Save
Default supports: EAN-13, EAN-8, UPC-A, GS1-128. Suitable for environments with internal consistency but non-standardized external suppliers.
Configuring Product Barcodes
- Click Configure Product Barcodes link in settings
- View product list with Name, Reference, Barcode, Company
- Click product to edit barcode
- Create/update barcode number
- Save
Printing Barcodes
- Print barcode commands: Download printable barcode sheets
- Print storage locations: Generate location barcodes for warehouse bins
- Print barcode demosheet: Sample sheet for training/testing
Creating Custom Nomenclatures
Enable Developer Mode to access advanced configuration:
- Activate Developer Mode
- Go to Inventory → Configuration → Barcode Nomenclatures
- Click New
- Configure:
- Barcode Nomenclature: Name
- UPC/EAN Conversion: Auto-convert 12-digit UPC ↔ 13-digit EAN (add/remove leading zero)
- Is GS1 Nomenclature: Uncheck for default (check for GS1 mode)
UPC/EAN Conversion Options:
- Never: No conversion
- Always: Convert all barcodes
- EAN-13 to UPC-A: Remove leading zero from EAN-13
- UPC-A to EAN-13: Add leading zero to UPC-A
Creating Rules
Click Add a line in Rule Name tab:
Rule Fields:
- Rule Name: Internal identifier for barcode meaning
- Sequence: Priority (lower = higher priority, applied first)
- Barcode Type: Package, Lot, Location, Coupon, Product, Weighted Product
- Encoding: Standard format (EAN-13, EAN-8, UPC-A, GS1-128)
- Barcode Pattern: Defines interpretation structure
Pattern Examples:
- 1...: Matches any 4-digit number starting with 1
- 21NNNNNPPPPP: Prefix 21 + 5-digit product (N) + 5-digit weight (P)
- Special characters:
- N = whole number digit
- D = decimal digit
- . = any character
- Example: Pattern NNDD interprets "1425" as 14.25
Stock Barcode Database
Auto-lookup product details from scanned barcodes:
- Go to Inventory → Configuration → Settings
- Enable Stock Barcode Database
- Scan UPC/EAN/ISBN barcode
- System auto-retrieves:
- Product name
- Description
- Images
- Categories
- Reduces manual data entry errors
Note: Works automatically on Odoo Online. Self-hosted installations may need API key for barcodelookup service.
Best Practices
Test Nomenclature with Demosheet: Print demosheet before production use. Test all barcode types (product, location, weighted) ensure rules fire correctly. Prevents warehouse disruption from misconfigured patterns.
Enable UPC/EAN Conversion: Suppliers send mix of UPC-12 and EAN-13? Enable auto-conversion prevents duplicate products from format differences. Set to "Always" or specific direction based on primary format.
Sequence Rules by Specificity: Specific rules (21NNNNNPPPPP for weighted products) get low sequence numbers = high priority. Generic rules (any EAN-13) get high sequence = applied last. Prevents generic rules capturing specific barcodes prematurely.
Use Cases
Grocery Retail
Weighted produce uses prefix "21". Scanner reads "2100012340056" → nomenclature extracts product #123, weight 4.0056kg. Receipt prints correct price no manual entry.
Warehouse Logistics
GS1-128 barcodes encode lot+expiry in single scan. Nomenclature rule extracts both fields updating lot tracking automatically. Compliant with supplier barcodes no reformatting.
Conclusion
Odoo 18 Barcode Nomenclatures transform barcode scans into accurate inventory actions through pattern-based interpretation rules, automatic format conversion, multi-standard support, and Stock Barcode Database integration. Eliminate manual lookup and interpretation errors in warehouse operations.
