[IMP] orm: renaming of group_operator -> aggregator
closes odoo/documentation#5541 Related: odoo/enterprise#46795 Related: odoo/odoo#127353 Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
This commit is contained in:
parent
ad749706ec
commit
99751542c7
@ -110,7 +110,7 @@ Extra tips
|
|||||||
|
|
||||||
.. tip::
|
.. tip::
|
||||||
A common mistake in SQL views is not considering the duplication of certain data
|
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
|
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.
|
resulting field values are as you expect.
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ Changelog
|
|||||||
Odoo Online version 17.2
|
Odoo Online version 17.2
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
- The :attr:`group_operator` attribute of :class:`~odoo.fields.Field` is renamed into
|
||||||
|
:attr:`aggregator` with `#127353 <https://github.com/odoo/odoo/pull/127353>`_.
|
||||||
- We can now group/aggregate/order by related no-store field with
|
- We can now group/aggregate/order by related no-store field with
|
||||||
`#127353 <https://github.com/odoo/odoo/pull/127353>`_.
|
`#127353 <https://github.com/odoo/odoo/pull/127353>`_.
|
||||||
|
|
||||||
|
@ -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
|
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
|
records that are currently displayed. The aggregation operation must match the corresponding
|
||||||
field's `group_operator`.
|
field's `aggregator`.
|
||||||
|
|
||||||
.. example::
|
.. example::
|
||||||
.. code-block:: xml
|
.. code-block:: xml
|
||||||
|
Loading…
Reference in New Issue
Block a user