Files
odoo_source/odoo/addons/test_read_group/ir.model.access.csv
T
Raphael Collet 31025540c4 [IMP] models: user-specified field aggregator in read_group
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)'], ...)
2018-03-30 11:01:08 +02:00

548 B

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_test_read_group_on_dateaccess_test_read_group_on_datemodel_test_read_group_on_date1000
3access_test_read_group_aggregate_booleanaccess_test_read_group_aggregate_booleanmodel_test_read_group_aggregate_boolean1000
4access_test_read_group_aggregateaccess_test_read_group_aggregatemodel_test_read_group_aggregate1000
5access_test_read_group_on_selectionaccess_test_read_group_on_selectionmodel_test_read_group_on_selection1000