RATIONALE Simplify field management for mail / phone / sms flows. Make it working out of the box, easier to use and tweak. SPECIFICATIONS Simplify model custom code when dealing with phone and sms by using helpers and standard behavior defined on all models. '_sms_get_partner_fields' was introduced at odoo/odoo@bdebcab0ce to have a generic implementation of finding partners on a record. Since then another version has been added directly in 'mail' module, using '_mail_get_partners'. '_sms_get_number_fields' was introduced at the same time to have a generic implementation of finding numbers on a record. Since then a generic and improved version has been added directly in 'phone_validation' module, see '_phone_get_number_fields'. Those method can therefore be removed, and replaced by the generic ones available on BaseModel. Task-3422449 (Mail, Phone: Move and improve field helpers) Prepares Task-36879 (Mail: Support MultiCompany Aliases) Part-of: odoo/odoo#130468
14 lines
366 B
Python
14 lines
366 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import ir_actions_server
|
|
from . import ir_model
|
|
from . import mail_followers
|
|
from . import mail_message
|
|
from . import mail_notification
|
|
from . import mail_thread
|
|
from . import res_partner
|
|
from . import sms_api
|
|
from . import sms_sms
|
|
from . import sms_template
|