bugfix with the working table in an expression

bzr revid: stephane@tinyerp.com-20080814164117-pcrx76mvis7n583x
This commit is contained in:
Stephane Wirtel 2008-08-14 18:41:17 +02:00
parent c928afe1bc
commit 5977152d8a
1 changed files with 1 additions and 1 deletions

View File

@ -61,13 +61,13 @@ class expression(object):
return self
self.__main_table = table
working_table = table
for i, e in enumerate(self.__exp):
if self._is_operator(e) or e == self.__DUMMY_LEAF:
continue
left, operator, right = e
working_table = table
if left in table._inherit_fields:
working_table = table.pool.get(table._inherit_fields[left][0])
if working_table not in self.__tables.values():