GLOBAL PURPOSE Ability to have salesmen belonging to several sales team is a core requirement of CRM. It is therefore moved from website_crm_score to crm along with cleaning and behavior improvement. Automatic lead assignment is also moved and cleaned. SPECIFICIATIONS Move sales team membership model from website_crm_score (enterprise) directly into sales_team. It allows to have the base requirements to correctly handle mono and multi sales team for salesperson. Membership is modeled using a decorated many2many relationship. Members of a sales team are res.users. Subscriptions are crm.team.member linking a team and an user. It is a rename of team.user model coming from website_crm_score as well as some other relational fields renaming. Part of old team.user model is moved directly to sales team, part of it to crm module (notably assignment limits). Its support will be improved in the upcoming commits. Assignment related fields will be cleaned and used when moving assignment directly into CRM. LINKS Task ID-2086889 (main task) Task ID-2357969 (scoring migration task) Community PR odoo/odoo#48422 Enterprise PR odoo/enterprise#499 Upgrade PR odoo/upgrade#996996
18 lines
484 B
Python
18 lines
484 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import res_users
|
|
from . import calendar
|
|
from . import crm_lead
|
|
from . import crm_lost_reason
|
|
from . import crm_stage
|
|
from . import crm_team
|
|
from . import crm_team_member
|
|
from . import ir_config_parameter
|
|
from . import res_config_settings
|
|
from . import res_partner
|
|
from . import digest
|
|
from . import crm_lead_scoring_frequency
|
|
from . import utm
|
|
from . import crm_recurring_plan
|