Skip to content

[IMP] studio: updating datetime field info #12350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/applications/essentials/reporting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ edit it, click :guilabel:`Measures` and choose one or, only for pivots, multiple

.. note::
When you select a measure, Odoo aggregates the values recorded on that field for the filtered
records. Only numerical fields (:ref:`integer <studio/fields/simple-fields/integer>`,
:ref:`decimal <studio/fields/simple-fields/decimal>`, :ref:`monetary
<studio/fields/simple-fields/monetary>`) can be measured. In addition, the :guilabel:`Count`
records. Only numerical fields (:ref:`integer <studio/fields/simple-fields-integer>`,
:ref:`decimal <studio/fields/simple-fields-decimal>`, :ref:`monetary
<studio/fields/simple-fields-monetary>`) can be measured. In addition, the :guilabel:`Count`
option is used to count the total number of filtered records.

After choosing what you want to measure, you can define how the data should be :ref:`grouped
Expand Down
8 changes: 4 additions & 4 deletions content/applications/studio/automated_actions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ This action allows to update one of the record's (related) fields. Click the :gu
field and, in the list that opens, select or search for the field to be updated; click the right
arrow next to the field name to access the list of related fields if needed.

If you selected a :ref:`many2many field <studio/fields/relational-fields/many2many>`, choose whether
If you selected a :ref:`many2many field <studio/fields/relational-fields-many2many>`, choose whether
the field must be updated by :guilabel:`Adding`, :guilabel:`Removing`, or :guilabel:`Setting it to`
the selected value or by :guilabel:`Clearing it`.

Expand All @@ -225,7 +225,7 @@ the selected value or by :guilabel:`Clearing it`.
Alternatively, you can also set a record's field dynamically using Python code. To do so, select
:guilabel:`Compute` instead of :guilabel:`Update`, then enter the code to be used for computing
the field's value. For example, if you want the automation rule to compute a custom
:ref:`datetime field <studio/fields/simple-fields/date-time>` when a task's priority is set to
:ref:`datetime field <studio/fields/simple-fields-date-time>` when a task's priority is set to
`High` (by starring the task), you can define the trigger :guilabel:`Priority is set to` to
`High` and define the :guilabel:`Update Record` action as follows:

Expand Down Expand Up @@ -290,8 +290,8 @@ triggered the creation of the new record.

.. note::
The dropdown list related to the :guilabel:`Link Field` field only contains :ref:`one2many fields
<studio/fields/relational-fields/one2many>` existing on the current model that are linked to a
:ref:`many2one field <studio/fields/relational-fields/many2one>` on the target model.
<studio/fields/relational-fields-one2many>` existing on the current model that are linked to a
:ref:`many2one field <studio/fields/relational-fields-many2one>` on the target model.

.. tip::
You can create another automation rule with :ref:`studio/automated-actions/action/update-record`
Expand Down
Loading