[IMP] bugfix read_group, no group_by
bzr revid: fp@tinyerp.com-20100419073924-1qkjwp2if61a0iah
This commit is contained in:
+1
-1
@@ -2020,7 +2020,7 @@ class orm(orm_template):
|
||||
if val == None:r[fld] = False
|
||||
alldata[r['id']] = r
|
||||
del r['id']
|
||||
data = self.read(cr, uid, alldata.keys(), groupby and [groupby] or [], context=context)
|
||||
data = self.read(cr, uid, alldata.keys(), groupby and [groupby] or ['id'], context=context)
|
||||
today = datetime.date.today()
|
||||
for d in data:
|
||||
if groupby:
|
||||
|
||||
Reference in New Issue
Block a user