Suport for != operation for domain expression.

bzr revid: ame@tinyerp.com-20080806065353-48ed3ecbuim9lxgb
This commit is contained in:
Amit Mendapara
2008-08-06 12:23:53 +05:30
parent e1a5ed51db
commit d6f429dc61
+1 -1
View File
@@ -52,7 +52,7 @@ class expression(object):
def _is_leaf(self, element):
return isinstance(element, tuple) \
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')
def _is_expression(self, element):
return isinstance(element, tuple) \