| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 155 |
| Technical Name |
unique_product_alert |
| License | LGPL-3 |
| Versions | 17.0 18.0 19.0 |
Unique Product Alert
The Unique Product Alert feature helps organizations maintain clean and accurate product data by preventing duplicate values in selected product fields. Administrators can choose which product fields must remain unique, ensuring that users do not accidentally create products with duplicate identifiers, references, or custom values.
Why Use Unique Product Alert?
- Prevents duplicate product information.
- Improves product data quality.
- Reduces inventory and reporting errors.
- Ensures important identifiers remain unique.
- Supports both Product Templates and Product Variants.
Configuration
Navigate to:
Template Unique Fields
In this section, administrators can select Product Template fields that must contain unique values across all product templates.
Examples:
- Name
- Sale Price
Variant Unique Fields
For businesses using product variants, unique validation can also be enabled for variant-specific fields.
Once product variants are enabled, administrators can select fields that should remain unique among all variants.
How It Works
- Administrator selects one or more unique fields.
- User creates or updates a product.
- The system checks whether the selected field value already exists.
- If no duplicate is found, the product is saved normally.
- If a duplicate is detected, an alert message is displayed.
Duplicate Detection Behavior
The validation compares values across existing products and helps prevent duplicate entries before they affect business operations.
- Checks all configured unique fields.
- Supports Product Templates.
- Supports Product Variants.
- Provides clear information about conflicting records.
- Helps maintain consistent master data.
Demonstration
The following animation demonstrates the complete workflow, from selecting unique fields to receiving a duplicate alert during product creation.
Best Practices
- Use unique validation for critical identification fields.
- Review field selections periodically as business requirements evolve.
- Avoid selecting fields that intentionally allow repeated values.
- Apply variant-level validation only when variant-specific identifiers are used.
- Train users on the importance of maintaining unique product data.
Benefits
- Higher data accuracy.
- Reduced duplicate records.
- Improved inventory management.
- Better reporting reliability.
- Enhanced operational efficiency.
Contact
For implementation support, customization requests, technical assistance, or functional guidance regarding this module, please contact:
Vashmitha | Developer
Email: vashmitha@rightangle.dev
Please log in to comment on this module