| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 389 |
| Technical Name |
auto_product_barcode |
| License | LGPL-3 |
| Website | https://www.tecpill.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 389 |
| Technical Name |
auto_product_barcode |
| License | LGPL-3 |
| Website | https://www.tecpill.com |
| Versions | 16.0 17.0 18.0 19.0 |
Auto Product Barcode Generator
Automatically generate unique EAN-13 barcodes for products without existing barcodes in Odoo.
ð Recent Improvements (v19.0.1.0.0, 2025-12-22)
- Module adapted for Odoo 19.0 compatibility.
- Auto-generation on product creation and updates.
- Works for both Product Templates and Product Variants.
- EAN-13 format with GS1-compliant check digit calculation.
- Configurable prefix and target model settings.
CHANGELOG.md file included with the module.
Key Features
ð¢ Automatic Barcode Generation
- â Auto-generate EAN-13 barcodes on product creation
- â Auto-generate barcodes when updating products without barcodes
- â Works for both Product Templates and Product Variants
- â GS1-compliant check digit calculation
âï¸ Flexible Configuration
- â Configurable 3-digit barcode prefix (default: 608)
- â Choose target model: Product Template or Product Variant
- â Enable/disable auto-generation from settings
- â Easy configuration through General Settings
ð¯ Smart Barcode Format
- â EAN-13 format: [Prefix:3] + [Product ID:5] + [Sequence:4] + [Check:1]
- â Unique sequence generation using ir.sequence
- â Collision detection and retry mechanism
- â Global uniqueness check across all products
ð§ Batch Operations
- â Server action to generate barcodes for multiple products
- â Select products without barcodes and generate in bulk
- â User-friendly notifications with success/failure feedback
- â Automated scheduled task for missing barcodes
Description
Managing products without barcodes can be challenging in inventory and sales operations. This module automatically generates unique EAN-13 barcodes for all products that don't have one, ensuring smooth barcode scanning operations. With this automation, businesses can:
- Eliminate manual barcode generation and data entry errors.
- Ensure all products have valid, scannable EAN-13 barcodes.
- Maintain barcode uniqueness across the entire product catalog.
- Streamline inventory management and point-of-sale operations.
- Automatically generate barcodes when creating or updating products.
Installation Notes
ð¦ Installation Process
- â Simple one-click installation
- â Automatic sequence creation for barcode generation
- â Pre-configured settings ready to use
- â Server actions and scheduled tasks automatically created
â¹ï¸ Note: After installation, configure your preferences:
- Go to Settings â General Settings â Auto Product Barcode
- Set your preferred barcode prefix (default: 608)
- Choose target model: Product Template or Product Variant
- Enable/disable auto-generation as needed
â Automatic Features:
- Barcodes are automatically generated when creating new products
- Barcodes are automatically generated when updating products without barcodes
- Scheduled task runs daily to generate missing barcodes
- Server action available for batch generation
- All barcodes follow EAN-13 standard with valid check digits
Usage Guide
Automatic Generation
Once installed, barcodes are automatically generated:
- When creating a new product without a barcode
- When updating an existing product without a barcode
- Through the daily scheduled task for any missing barcodes
Manual Batch Generation
To manually generate barcodes for multiple products:
- Go to Products menu
- Filter products without barcodes
- Select the products you want
- Click Action â Generate Barcodes
- Barcodes will be generated instantly with success notification
Configuration
Configure the module from Settings â General Settings:
- Auto-Generate Barcodes: Enable/disable automatic generation
- Barcode Prefix: Set 3-digit prefix (e.g., 608, 784, 628)
- Target Model: Choose Product Template or Product Variant
Barcode Format
EAN-13 Structure
The generated barcode follows this format:
- Position 1-3: Configurable Prefix (default: 608)
- Position 4-8: Product/Template ID (5 digits)
- Position 9-12: Unique Sequence (4 digits)
- Position 13: Check Digit (calculated using GS1 algorithm)
Example: 6080001234567 (608 = prefix, 00012 = product ID, 3456 = sequence, 7 = check digit)
Support
For support and assistance, contact us at admin@tecpill.com
Credits
Please log in to comment on this module