| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Employees (hr) • Discuss (mail) |
| Lines of code | 134 |
| Technical Name |
contact_field_validation |
| License | LGPL-3 |
| Website | https://www.odoo.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Employees (hr) • Discuss (mail) |
| Lines of code | 134 |
| Technical Name |
contact_field_validation |
| License | LGPL-3 |
| Website | https://www.odoo.com |
Contact Field Validation
Real-time frontend and backend validation for phone and email fields in Odoo 17.
Phone Validation
- Allows only valid phone characters
- Blocks alphabets and invalid symbols
- Supports +, -, spaces and parentheses
- Real-time validation while typing
- Automatically cleans pasted values
Email Validation
- Validates proper email format
- Prevents saving invalid emails
- Backend server-side validation
- Improves data accuracy
Dynamic Support
- Works on notebook pages
- Supports dialogs and popups
- Supports lazy-loaded forms
- Works across all models
Supported Fields
Phone Fields
phone
mobile
work_phone
private_phone
emergency_phone
Supported Models
res.partner
res.company
hr.employee
custom models
Technology
OWL Framework
FormRenderer Patch
MutationObserver
Backend Constraints
Please log in to comment on this module