diff options
| author | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2016-06-29 17:52:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-29 17:52:30 +0200 |
| commit | b3feb2358c24b995b4758e5dc5fc2865df78c83d (patch) | |
| tree | c72253791ee416616d0fe6c91c08efa3ca426598 /doc/reference/javascript.rst | |
| parent | 51a8bc1a6072b9eaa8f16b097f29d45927c64d22 (diff) | |
[IMP] allow group_operator on any field
There's really no reason to limit group_operator to numeric fields and Postgres's flexible aggregate make the ability to aggregate on non-numeric fields (and/or non-numerically)
* moves group_operator to Field
* adds a default value of `sum` on integer, float and monetary fields
* in read_group, filters on fields with a group operator rather than by
type (also allow id fields, since Id doesn't have a group_operator by
default it will be ignored anyway) (sequence is still specifically
excluded for now because they're usually regular Integer fields)
Closes #12372
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
