Reason: *Sales team configuration is too complex with fields you don't understand and that bring no added value *Remove the team type, every team should be able to handle a POS or a website for example Contains: *Removal of the team_type, use_quotations, use_leads fields *Removal of the graph configuration fields *Adapting the filters that were based on the team_type *Clear distinction between the team dashboard behavior in crm from the one in sales *Cleansing of now dead code due to the removal of the previously mentionned fields Task: #1830105 Enterprise PR: #3006 Closes: #28063
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="team_sales_department" model="crm.team">
|
|
<field name="name">Sales</field>
|
|
<field name="member_ids" eval="[(4, ref('base.user_admin'))]"/>
|
|
<field name="company_id" eval="False"/>
|
|
</record>
|
|
|
|
<record id="salesteam_website_sales" model="crm.team">
|
|
<field name="name">Website</field>
|
|
<field name="company_id" eval="False"/>
|
|
<field name="active" eval="False"/>
|
|
</record>
|
|
|
|
<record id="pos_sales_team" model="crm.team">
|
|
<field name="name">Point of Sale</field>
|
|
<field name="active" eval="False"/>
|
|
</record>
|
|
|
|
<record id="ebay_sales_team" model="crm.team">
|
|
<field name="name">eBay</field>
|
|
<field name="active" eval="False"/>
|
|
</record>
|
|
|
|
<function model="crm.team" name="message_unsubscribe"
|
|
eval="[
|
|
ref('sales_team.team_sales_department'),
|
|
ref('sales_team.salesteam_website_sales'),
|
|
ref('sales_team.ebay_sales_team'),
|
|
ref('sales_team.pos_sales_team')],
|
|
[ref('base.partner_root')]"/>
|
|
</data>
|
|
|
|
<record id="sales_team.group_sale_salesman" model="res.groups">
|
|
<field name="category_id" ref="base.module_category_sales_management"/>
|
|
</record>
|
|
|
|
<record id="sales_team.group_sale_manager" model="res.groups">
|
|
<field name="category_id" ref="base.module_category_sales_management"/>
|
|
</record>
|
|
</odoo>
|