mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
[IMP] developer/../view_architectures: add aggregate option
This commit documents the new `aggregate` attribute of the calendar view. Part of task~4510549 Part-of: odoo/documentation#12262 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -3264,6 +3264,18 @@ Their root element is ``<calendar>``. Available attributes on the root node are:
|
||||
:requirement: Optional
|
||||
:type: str
|
||||
|
||||
.. attribute:: aggregate
|
||||
:noindex:
|
||||
|
||||
Name of the record's field to use to display aggregated values next to
|
||||
filters, in the filter side panel. The aggregator can be explicitly given
|
||||
(e.g. `aggregate="expected_revenue:sum"`). If not given, the aggregator of
|
||||
the field is used. Supported aggregators are `sum`, `avg`, `min`, `max`,
|
||||
`count` and `count_distinct`.
|
||||
|
||||
:requirement: Optional
|
||||
:type: str
|
||||
|
||||
.. attribute:: event_limit
|
||||
:noindex:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user