Skip to content
Snippets Groups Projects
Commit 5bf5d45b authored by RomainLibert's avatar RomainLibert
Browse files

[DOC] dashboard: add help attribute and mention count_distinct

Documentation needed some update
parent 6bd60147
No related branches found
No related tags found
No related merge requests found
......@@ -1284,10 +1284,14 @@ There are 5 possible type of tags in a dashboard view:
If not provided, By default, the group_operator from the field definition is used.
Note that no aggregation of field values is achieved if the group_operator value is "".
.. note:: The special aggregate function ``count_distinct`` (defined in odoo) can also be used here
.. code-block:: xml
<aggregate name="price_total_max" field="price_total" group_operator="max"/>
- ``col`` (optional)
The number of columns spanned by this tag (only makes sense inside a
group). By default, 1.
......@@ -1296,6 +1300,9 @@ There are 5 possible type of tags in a dashboard view:
A widget to format the value (like the widget attribute for fields).
For example, monetary.
- ``help`` (optional)
A help message to dipslay in a tooltip (equivalent of help for a field in python)
``formula``
declares a derived value. Formulas are values computed from aggregates.
......@@ -1324,6 +1331,9 @@ There are 5 possible type of tags in a dashboard view:
A widget to format the value (like the widget attribute for fields).
For example, monetary. By default, it is 'float'.
- ``help`` (optional)
A help message to dipslay in a tooltip (equivalent of help for a field in python)
``widget``
Declares a specialized widget to be used to display the information. This is
a mechanism similar to the widgets in the form view.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment