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
29 lines
801 B
Python
29 lines
801 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import mail_message_subtype
|
|
from . import mail_tracking_value
|
|
from . import mail_alias
|
|
from . import mail_followers
|
|
from . import mail_notification
|
|
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
|
|
from . import mail_shortcode
|
|
from . import res_partner
|
|
from . import res_users
|
|
from . import res_company
|
|
from . import res_config_settings
|
|
from . import update
|
|
from . import ir_action_act_window
|
|
from . import ir_actions
|
|
from . import ir_attachment
|
|
from . import ir_autovacuum
|
|
from . import ir_model
|
|
from . import ir_ui_view
|