PURPOSE Allow auto install of all SMS-based feature. Move partner onchange formatting directly inside phone validation. SPECIFICATIONS Phone validation: set as auto install. Phone validation module is a direct dependency of SMS which is integrated in more and more business apps. As such we want sms to be auto-installed, hence making phone_validation auto-install as well. LINKS Task 2061765
36 lines
963 B
Python
36 lines
963 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Phone Numbers Validation',
|
|
'version': '2.0',
|
|
'summary': 'Validate and format phone numbers',
|
|
'sequence': '9999',
|
|
'category': 'Hidden',
|
|
'description': """
|
|
Phone Numbers Validation
|
|
========================
|
|
|
|
This module adds the feature of validation and formatting phone numbers
|
|
according to a destination country.
|
|
|
|
It also adds phone blacklist management through a specific model storing
|
|
blacklisted phone numbers.
|
|
|
|
It adds two mixins :
|
|
|
|
* phone.validation.mixin: parsing / formatting helpers on records, to be
|
|
used for example in number fields onchange;
|
|
* mail.thread.phone: handle sanitation and blacklist of records numbers;
|
|
""",
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/phone_blacklist_views.xml',
|
|
],
|
|
'depends': [
|
|
'base',
|
|
'mail',
|
|
],
|
|
'auto_install': True,
|
|
}
|