Bugfix in Expression

bzr revid: fp@tinyerp.com-20080818114957-kb2f0qv9rf6c0nhu
This commit is contained in:
Fabien Pinckaers 2008-08-18 13:49:57 +02:00
parent f61d2ee3b0
commit 77bf737ff6
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class expression(object):
def _is_leaf(self, element, internal=False):
return (isinstance(element, tuple) or isinstance(element, list)) \
and len(element) == 3 \
and element[1] in ('=', '!=', '<>', '<=', '<', '>', '>=', '=like', 'like', 'not like', 'ilike', 'not ilike', 'in', 'not in', 'child_of')
and element[1] in ('=', '!=', '<>', '<=', '<', '>', '>=', '=like', 'like', 'not like', 'ilike', 'not ilike', 'in', 'not in', 'child_of') \
and ((not internal) or element[1] in ('inselect',))
def __execute_recursive_in(self, cr, s, f, w, ids):