[FIX]:no_leaf in groupby was not taking main domain in to consideration
bzr revid: nch@tinyerp.com-20100420130855-mopv1kv1892i7xnv
This commit is contained in:
parent
3af6db6180
commit
2a072834f5
|
@ -1996,8 +1996,6 @@ class orm(orm_template):
|
|||
if groupby and isinstance(groupby, list):
|
||||
groupby = groupby[0]
|
||||
tables, where_clause = self._inherits_join_calc(groupby,tables,where_clause)
|
||||
else:
|
||||
where_clause = ''
|
||||
|
||||
if len(where_clause):
|
||||
where_clause = ' where '+string.join(where_clause, ' and ')
|
||||
|
|
Loading…
Reference in New Issue