[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
This commit is contained in:
Antonin Bourguignon
2012-11-19 14:16:49 +01:00
parent e1670c5b0a
commit 4d0b357664
+1 -2
View File
@@ -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.'))