[FIX] expression.parse: fixed indentation error preventing leafs to be correctly replaced in auto_join.
bzr revid: tde@openerp.com-20121128181258-cgmm7wqgv657iptb
This commit is contained in:
parent
2f16bf4b56
commit
47fda82264
|
@ -572,7 +572,7 @@ class expression(object):
|
|||
self.joins.append('%s."%s"=%s."%s"' % (alias, 'id', previous_alias, field_path[0]))
|
||||
elif field._type == 'one2many':
|
||||
self.joins.append('%s."%s"=%s."%s"' % (alias, field._fields_id, previous_alias, 'id'))
|
||||
self.exp[i] = (alias + '.' + field_path[1], self.exp[i][1], self.exp[i][2])
|
||||
self.exp[i] = (alias + '.' + field_path[1], self.exp[i][1], self.exp[i][2])
|
||||
|
||||
# udpate working variables
|
||||
field_path = field_path[1].split('.', 1)
|
||||
|
|
Loading…
Reference in New Issue