From 1c4d888e80f5e28de1c682e6823dde59d89965e3 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Tue, 26 Jan 2016 10:38:11 +0100 Subject: [PATCH] [FIX] crm: translation of action's name 'Your pipeline' ... displayed in the breadcrumb. Term wasn't translated due to missing context. opw-666577 --- addons/crm/sales_team.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: