Bugfix: a dot was missing: self__operator -> self.__operator

bzr revid: olt@tinyerp.com-20080812124725-m8ybax8x1q2l4ly2
This commit is contained in:
Olivier Laurent 2008-08-12 14:47:25 +02:00
parent adedf0caf3
commit 4c2a727132
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class expression(object):
# this is a function field
if not field._fnct_search and not field.store:
# the function field doesn't provide a search function and doesn't store values in the database, so we must ignore it : we generate a dummy leaf
self.__left, self__operator, self.__right = 1, '=', 1
self.__left, self.__operator, self.__right = 1, '=', 1
self.__exp = '' # force to generate an empty sql expression
else:
# we need to replace this leaf to a '&' expression