[IMP] expression.py: fixed typo
bzr revid: odo@openerp.com-20100805181220-djl3omx7peyvk6zg
This commit is contained in:
parent
69cd88bf10
commit
846f4cab75
|
@ -236,7 +236,7 @@ class expression(object):
|
||||||
if isinstance(right, basestring):
|
if isinstance(right, basestring):
|
||||||
res_ids = [x[0] for x in field_obj.name_search(cr, uid, right, [], operator, context=context)]
|
res_ids = [x[0] for x in field_obj.name_search(cr, uid, right, [], operator, context=context)]
|
||||||
if res_ids:
|
if res_ids:
|
||||||
opeartor = 'in'
|
operator = 'in'
|
||||||
else:
|
else:
|
||||||
if not isinstance(right, list):
|
if not isinstance(right, list):
|
||||||
res_ids = [right]
|
res_ids = [right]
|
||||||
|
|
Loading…
Reference in New Issue