diff --git a/addons/crm/sales_team.py b/addons/crm/sales_team.py index 1ae14e831e8..bad0c676f4b 100644 --- a/addons/crm/sales_team.py +++ b/addons/crm/sales_team.py @@ -122,7 +122,7 @@ class crm_team(osv.Model): def action_your_pipeline(self, cr, uid, context=None): IrModelData = self.pool['ir.model.data'] - action = IrModelData.xmlid_to_object(cr, uid, 'crm.crm_lead_opportunities_tree_view').read(['name', 'help', 'res_model', 'target', 'domain', 'context', 'type', 'search_view_id']) + action = IrModelData.xmlid_to_object(cr, uid, 'crm.crm_lead_opportunities_tree_view', context=context).read(['name', 'help', 'res_model', 'target', 'domain', 'context', 'type', 'search_view_id']) if not action: action = {} else: