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:
3d62ed0
)
[FIX] read_group cannot aggregate non-stored field
author
Richard Mathot
<rim@openerp.com>
Fri, 8 Aug 2014 08:53:39 +0000
(10:53 +0200)
committer
Richard Mathot
<rim@openerp.com>
Fri, 8 Aug 2014 08:53:39 +0000
(10:53 +0200)
openerp/models.py
patch
|
blob
|
history
diff --git
a/openerp/models.py
b/openerp/models.py
index
abe36b3
..
afcdef9
100644
(file)
--- a/
openerp/models.py
+++ b/
openerp/models.py
@@
-2105,6
+2105,7
@@
class BaseModel(object):
f for f in fields
if f not in ('id', 'sequence')
if f not in groupby_fields
+ if f in self._all_columns
if self._all_columns[f].column._type in ('integer', 'float')
if getattr(self._all_columns[f].column, '_classic_write')]