[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:
parent
9ea1cb2879
commit
35b0c81b61
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue