[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:
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user