[FIX] Expression : _recursive_in corrected
bzr revid: jvo@tinyerp.com-20091204085819-hdx3k0gdxf4j4qcf
This commit is contained in:
parent
d766076f07
commit
8973681ae1
|
@ -59,6 +59,7 @@ class expression(object):
|
|||
' FROM "%s"' \
|
||||
' WHERE "%s" in (%s)' % (s, f, w, ','.join(['%s']*len(subids))),
|
||||
subids)
|
||||
res.extend([r[0] for r in cr.fetchall()])
|
||||
else:
|
||||
cr.execute('SELECT distinct("%s")' \
|
||||
' FROM "%s" where "%s" is not null' % (s, f, s)),
|
||||
|
|
Loading…
Reference in New Issue