Skip to content

Commit 98e735a

Browse files
committed
[IMP] studio: updating datetime field info
Task-4366107 X-original-commit: b96f71b
1 parent 3e96d58 commit 98e735a

File tree

7 files changed

+196
-118
lines changed

7 files changed

+196
-118
lines changed

Diff for: content/applications/essentials/reporting.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ edit it, click :guilabel:`Measures` and choose one or, only for pivots, multiple
5050

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

5858
After choosing what you want to measure, you can define how the data should be :ref:`grouped

Diff for: content/applications/studio/automated_actions.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ This action allows to update one of the record's (related) fields. Click the :gu
214214
field and, in the list that opens, select or search for the field to be updated; click the right
215215
arrow next to the field name to access the list of related fields if needed.
216216

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

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

@@ -307,8 +307,8 @@ triggered the creation of the new record.
307307

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

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

0 commit comments

Comments
 (0)