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
33 lines
973 B
Python
33 lines
973 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Sales Teams',
|
|
'version': '1.1',
|
|
'category': 'Sales/Sales',
|
|
'summary': 'Sales Teams',
|
|
'description': """
|
|
Using this application you can manage Sales Teams with CRM and/or Sales
|
|
=======================================================================
|
|
""",
|
|
'website': 'https://www.odoo.com/page/crm',
|
|
'depends': ['base', 'mail'],
|
|
'data': [
|
|
'security/sales_team_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/crm_team_data.xml',
|
|
'views/assets.xml',
|
|
'views/crm_tag_views.xml',
|
|
'views/crm_team_views.xml',
|
|
'views/crm_team_member_views.xml',
|
|
'views/mail_activity_views.xml',
|
|
'views/res_partner_views.xml',
|
|
],
|
|
'demo': [
|
|
'data/crm_team_demo.xml',
|
|
'data/crm_tag_demo.xml',
|
|
],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
}
|