projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44f181
)
bugfix
author
Fabien Pinckaers
<fp@tinyerp.com>
Fri, 2 Apr 2010 12:53:18 +0000
(14:53 +0200)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Fri, 2 Apr 2010 12:53:18 +0000
(14:53 +0200)
bzr revid: fp@tinyerp.com-
20100402125318
-nqv5jeytlqf62q1j
bin/osv/orm.py
patch
|
blob
|
history
diff --git
a/bin/osv/orm.py
b/bin/osv/orm.py
index
430745d
..
92fb7f9
100644
(file)
--- a/
bin/osv/orm.py
+++ b/
bin/osv/orm.py
@@
-1879,7
+1879,8
@@
class orm(orm_template):
def read_group(self, cr, uid, domain, fields, groupby, offset=0, limit=None, context=None):
groupby_list = groupby
- groupby = groupby[0]
+ if isinstance(groupby, list):
+ groupby = groupby[0]
context = context or {}
self.pool.get('ir.model.access').check(cr, uid, self._name, 'read', context=context)
if not fields: