@@ -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 @@
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'}
+ }