From 3d2841aac0684e71c8eda78e7dd3959062ebd9da Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 6 Mar 2017 16:03:54 +0100 Subject: [PATCH] [FIX] crm: New / opportunity in the dashboard opens an opp form Up to now, it opened the lead form view instead of the opportunity form view. Most-likely, a new / lead should be added to the dashboard in addition to the new opp, as this is the case with the view lead/opportunity but it doesn't seem it was expected up to now so I leave it like it is. opw-710583 --- addons/crm/views/crm_team_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/crm/views/crm_team_views.xml b/addons/crm/views/crm_team_views.xml index 87e2c025bee..4b2f9a9b121 100644 --- a/addons/crm/views/crm_team_views.xml +++ b/addons/crm/views/crm_team_views.xml @@ -145,6 +145,7 @@ ir.actions.act_window form form + [('type','=','opportunity')] { 'search_default_team_id': [active_id],