Bugfix in Expression
authorFabien Pinckaers <fp@tinyerp.com>
Mon, 18 Aug 2008 11:49:57 +0000 (13:49 +0200)
committerFabien Pinckaers <fp@tinyerp.com>
Mon, 18 Aug 2008 11:49:57 +0000 (13:49 +0200)
bzr revid: fp@tinyerp.com-20080818114957-kb2f0qv9rf6c0nhu

bin/osv/expression.py

index c384d74..7eb5997 100644 (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):