[IMP] we actually don't have to perform this test: user_ids is tested in the for loop two lines below. It wouldn't change anything whether it's a None or an empty list

bzr revid: abo@openerp.com-20121205145109-ir4cea5j5cd82q8j
This commit is contained in:
Antonin Bourguignon 2012-12-05 15:51:09 +01:00
parent 9ea1cb2879
commit 35b0c81b61
1 changed files with 0 additions and 2 deletions

View File

@ -781,8 +781,6 @@ class crm_lead(base_stage, format_address, osv.osv):
:param int team_id: salesteam to assign
:return bool
"""
if user_ids is None:
user_ids = []
index = 0
for lead_id in ids: