Overview
This module ensures data integrity in your Odoo system by preventing the creation of multiple partners with the same email address. It provides both database-level constraints and application-level validation for comprehensive protection against duplicate emails.
Key Features
🔒 SQL Constraint
Database-level UNIQUE constraint ensures email uniqueness at the lowest level.
✅ Python Validation
Additional @api.constrains validation with detailed error messages.
🔍 Case-Insensitive
Email comparison ignores case to catch variations like User@email.com.
📊 Batch Support
Works correctly with import operations and batch record updates.
How It Works
When a user attempts to create or update a partner with an email address that already exists in the system, they will see a clear error message:
Technical Specifications
- Model: Extends
res.partner - Dependencies: base
- Odoo Version: 19.0
- License: LGPL-3
- Installation: No configuration required
Please log in to comment on this module