The caller of `read_group` can now provide the aggregating function to use for
a given field:
# set aggregating operator for fields 'foo' and 'bar'
model.read_group(domain, ['foo:sum', 'bar:avg'], ...)
One can also aggregate the same field several times, by giving a specific
output name for each:
# aggregate 'foo' with both 'min' and 'max'
model.read_group(domain, ['foomin:min(foo)', 'foomax:max(foo)'], ...)
548 B
548 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_test_read_group_on_date | access_test_read_group_on_date | model_test_read_group_on_date | 1 | 0 | 0 | 0 | |
| 3 | access_test_read_group_aggregate_boolean | access_test_read_group_aggregate_boolean | model_test_read_group_aggregate_boolean | 1 | 0 | 0 | 0 | |
| 4 | access_test_read_group_aggregate | access_test_read_group_aggregate | model_test_read_group_aggregate | 1 | 0 | 0 | 0 | |
| 5 | access_test_read_group_on_selection | access_test_read_group_on_selection | model_test_read_group_on_selection | 1 | 0 | 0 | 0 |