[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:
Aaron Bohy
2025-03-05 11:13:39 +01:00
parent c466c74c84
commit 0632e515da

View File

@@ -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: