From 1d90e70244b579ffdc981c809558f6c510e0f1bf Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Tue, 23 Feb 2016 15:31:17 +0100 Subject: [PATCH] [FIX] crm*: remove outdated stage_type from context This key in context is useless since v7.0 --- addons/crm/crm_lead_menu.xml | 5 +---- addons/crm/res_partner_view.xml | 1 - addons/crm/sales_team_dashboard.xml | 1 - addons/crm/sales_team_view.xml | 2 -- addons/sale_crm/sale_crm_view.xml | 2 +- 5 files changed, 2 insertions(+), 9 deletions(-) diff --git a/addons/crm/crm_lead_menu.xml b/addons/crm/crm_lead_menu.xml index 6a0b26b75ba..d57b2e2cc73 100644 --- a/addons/crm/crm_lead_menu.xml +++ b/addons/crm/crm_lead_menu.xml @@ -12,7 +12,6 @@ { 'default_type':'lead', 'search_default_type': 'lead', - 'stage_type':'lead', 'needaction_menu_ref': 'crm.menu_crm_opportunities', 'search_default_to_process':1, } @@ -36,7 +35,6 @@ kanban,tree,graph,pivot,form,calendar [('type','=','opportunity')] { - 'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid } @@ -68,11 +66,10 @@ kanban,tree,graph,pivot,form,calendar [('type','=','opportunity')] { - 'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid, 'search_default_assigned_to_me': 1, -} + }

diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml index 33f34959eed..5c80638d1a1 100644 --- a/addons/crm/res_partner_view.xml +++ b/addons/crm/res_partner_view.xml @@ -19,7 +19,6 @@ [('type','=','opportunity')] { 'search_default_partner_id': active_id, - 'stage_type': 'opportunity', 'default_type': 'opportunity' } diff --git a/addons/crm/sales_team_dashboard.xml b/addons/crm/sales_team_dashboard.xml index 3ee44a273db..49bd6bdb26f 100644 --- a/addons/crm/sales_team_dashboard.xml +++ b/addons/crm/sales_team_dashboard.xml @@ -9,7 +9,6 @@ { 'search_default_team_id': [active_id], 'default_team_id': active_id, - 'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid, } diff --git a/addons/crm/sales_team_view.xml b/addons/crm/sales_team_view.xml index df99484f37d..e38e8ade680 100644 --- a/addons/crm/sales_team_view.xml +++ b/addons/crm/sales_team_view.xml @@ -15,7 +15,6 @@ 'search_default_team_id': [active_id], 'default_team_id': active_id, 'default_type': 'lead', - 'stage_type': 'lead', } @@ -43,7 +42,6 @@ { 'search_default_team_id': [active_id], 'default_team_id': active_id, - 'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid, } diff --git a/addons/sale_crm/sale_crm_view.xml b/addons/sale_crm/sale_crm_view.xml index 9c7f7226138..ae23ed20b89 100644 --- a/addons/sale_crm/sale_crm_view.xml +++ b/addons/sale_crm/sale_crm_view.xml @@ -53,7 +53,7 @@ - {'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid, 'needaction_menu_ref': 'sale.menu_sale_quotations'} + {'default_type': 'opportunity', 'default_user_id': uid, 'needaction_menu_ref': 'sale.menu_sale_quotations'}