diff options
| author | David Beguin <dbe@odoo.com> | 2018-10-25 12:52:04 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2018-11-20 10:39:11 +0000 |
| commit | 8d3fcf42c9e1f1aedaf5dae0f3776c0efbe7644f (patch) | |
| tree | e855205a1218e74de9f4f9d1a1836e62d7b914b6 /addons/mail/models/__init__.py | |
| parent | 097c8afb74f2dddce994183284f99c0ed4382ad5 (diff) | |
[IMP] mail : add mixin to normalize email address
This Mixin can be used to store a normalized version of the primary
email address of the parent model. The email_normalized field can
than be used on that model to search quickly on emails (by simple
comparison and not using time consuming regex anymore)
This commit will be usefull to simplify the email address comparison
in the blacklist mixin but also for any models storing non normalized
email address.
Task ID : 1896677
Diffstat (limited to 'addons/mail/models/__init__.py')
| -rw-r--r-- | addons/mail/models/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/models/__init__.py b/addons/mail/models/__init__.py index 5319c310790..c53d8689082 100644 --- a/addons/mail/models/__init__.py +++ b/addons/mail/models/__init__.py @@ -10,6 +10,7 @@ from . import mail_message from . import mail_activity from . import mail_mail from . import mail_thread +from . import mail_address_mixin from . import mail_blacklist from . import mail_channel from . import mail_template |
