Skip to content
Snippets Groups Projects
Commit b18b8134 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] expression: correct the generated sql in case of _inherits

bzr revid: christophe@tinyerp.com-20090527110336-t8t5ombxj6p3slqw
parent 3837623f
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ class expression(object):
query = '(%s.%s %s (%s))' % (table._table, left, operator, instr)
if check_nulls:
query = '(%s OR %s IS NULL)' % (query, left)
query = '(%s OR %s.%s IS NULL)' % (query, table._table, left)
else:
params = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment