diff --git a/addons/crm/crm_salesteams.xml b/addons/crm/crm_salesteams.xml index e796ac789d0..6c32deb79cf 100644 --- a/addons/crm/crm_salesteams.xml +++ b/addons/crm/crm_salesteams.xml @@ -10,10 +10,7 @@ tree,form ['|', ('type','=','lead'), ('type','=',False)] { - 'search_default_section_id': [active_id], - 'default_section_id': active_id, - 'search_default_new': True, - 'search_default_open': True + 'search_default_section_id': [active_id], 'default_section_id': active_id, 'search_default_new': True, 'search_default_open': True, 'help_alias': {'type': "lead", 'section_id': active_id} }

@@ -39,10 +36,7 @@ [('type','=','opportunity')] { - 'search_default_section_id': [active_id], - 'default_section_id': active_id, - 'search_default_new': True, - 'search_default_open': True + 'search_default_section_id': [active_id], 'default_section_id': active_id, 'search_default_new': True, 'search_default_open': True, 'help_alias': {'type': "lead", 'section_id': active_id} }

@@ -95,16 +89,12 @@

- - - Leads - Lead -
- + - Opportunities - Opportunity - + OpportunitiesOpportunity, + + + LeadsLead
diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml index a879dc49771..9faf86b12a6 100644 --- a/addons/crm/res_partner_view.xml +++ b/addons/crm/res_partner_view.xml @@ -34,7 +34,8 @@ 'search_default_partner_id': active_id, 'stage_type': 'opportunity', 'default_type': 'opportunity', - 'help_alias': 'alias_defaults': {'type': 'lead'} + 'help_alias': {'type': 'lead'} + }