From 4d0b3576643a54a4af86ae45c5d00919d442cbcf Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 19 Nov 2012 14:16:49 +0100 Subject: [PATCH] [IMP] remove comment: lead_ids is passed to the context in action_merge() (cf. crm_merge_opportunities.py) bzr revid: abo@openerp.com-20121119131649-1usgf8qktrtd1tbo --- addons/crm/crm_lead.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 547b25af27c..bf8d7e8b1dd 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -542,8 +542,7 @@ class crm_lead(base_stage, format_address, osv.osv): """ if context is None: context = {} - #TOCHECK: where pass lead_ids in context? - lead_ids = context and context.get('lead_ids', []) or [] + lead_ids = context.get('lead_ids', []) if len(ids) <= 1: raise osv.except_osv(_('Warning!'),_('Please select more than one opportunity from the list view.'))