bugfix: change variable usage

bzr revid: christophe@tinyerp.com-20080814150620-m9kxun5snnjffu3r
This commit is contained in:
Christophe Simonis 2008-08-14 17:06:20 +02:00
parent 3a335d6c4c
commit c6d2067c34
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class expression(object):
left, operator, right = e
if left in table._inherit_fields:
working_table = table.pool.get(table._inherit_fields[self.__left][0])
working_table = table.pool.get(table._inherit_fields[left][0])
if working_table not in self.__tables.values():
self.__joins.append('%s.%s' % (table._table, table._inherits[working_table._name]))