diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2010-04-19 09:39:24 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2010-04-19 09:39:24 +0200 |
| commit | 14ecc8dff196b3bdffb094cf1095c8bcca34c4ab (patch) | |
| tree | 790e20a796e2e3376a218f61ca450f6bdbecd0e6 /bin | |
| parent | e67890b3b0a723b87a4c093f2d33b4ac3592d120 (diff) | |
[IMP] bugfix read_group, no group_by
bzr revid: fp@tinyerp.com-20100419073924-1qkjwp2if61a0iah
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/osv/orm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/osv/orm.py b/bin/osv/orm.py index f860e73cbe9..376fdb024ba 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -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: |
