Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
Lines of code | 36 |
Technical Name |
res_partner_mobile_ar_format |
License | LGPL-3 |
Argentina Phone Formatter for Contacts
This module standardizes and sanitizes Argentinian mobile phone numbers in the Odoo Contacts app. It automatically cleans up inconsistent formats (like removing '15', leading '0', and adding '9' where necessary) to ensure uniformity in contact data.
Automatically reformats numbers like 0111545123456 or 1545123456 into 91145123456.
Key Features
- Sanitizes mobile numbers with common Argentine formats automatically when saving a partner.
- Handles numbers with or without '0', with '15', or missing '9', making data more consistent.
- Works seamlessly in the background without user intervention.
- Supports all contact creation/update methods including forms and import.
Usage Instructions
Simply install the module. After installation, every time a mobile number is saved in a partner (contact), the format is automatically corrected if it matches known Argentine patterns.
Example conversions:
0111545123456
->91145123456
1545123456
->91145123456
1161452241
->91161452241
Partner View
Please log in to comment on this module