diff --git a/content/developer/howtos/create_reports.rst b/content/developer/howtos/create_reports.rst index d2a8a1254..9d3857217 100644 --- a/content/developer/howtos/create_reports.rst +++ b/content/developer/howtos/create_reports.rst @@ -110,7 +110,7 @@ Extra tips .. tip:: A common mistake in SQL views is not considering the duplication of certain data - due to table JOINs. This can lead to miscounting when using a field's `group_operator` + due to table JOINs. This can lead to miscounting when using a field's `aggregator` and/or the pivot view. It is best to test your SQL view with sufficient data to ensure the resulting field values are as you expect. diff --git a/content/developer/reference/backend/orm/changelog.rst b/content/developer/reference/backend/orm/changelog.rst index 6d42376f8..00d49b030 100644 --- a/content/developer/reference/backend/orm/changelog.rst +++ b/content/developer/reference/backend/orm/changelog.rst @@ -7,6 +7,8 @@ Changelog Odoo Online version 17.2 ======================== +- The :attr:`group_operator` attribute of :class:`~odoo.fields.Field` is renamed into + :attr:`aggregator` with `#127353 `_. - We can now group/aggregate/order by related no-store field with `#127353 `_. diff --git a/content/developer/reference/user_interface/view_architectures.rst b/content/developer/reference/user_interface/view_architectures.rst index 93a7f5040..22a7c7244 100644 --- a/content/developer/reference/user_interface/view_architectures.rst +++ b/content/developer/reference/user_interface/view_architectures.rst @@ -1400,7 +1400,7 @@ The `field` element can have the following attributes: The aggregate to display at the bottom of the column. The aggregation is computed on only records that are currently displayed. The aggregation operation must match the corresponding - field's `group_operator`. + field's `aggregator`. .. example:: .. code-block:: xml