summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2018-07-11 10:42:55 +0200
committerRomainLibert <rli@odoo.com>2018-07-19 09:51:54 +0200
commitc6396c36e755b0d718ad6cae0359857c3052e586 (patch)
tree6eaa520cd9d61a59eacdf7198607ce3cf49e7cf9 /doc/reference
parentdb403e6dd70e14e7275a955a84e8aab607c4711d (diff)
[DOC] dashboard: add clickable attribute on aggregates
Closes: #25710
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 542adf7a3d5..08848604926 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1363,7 +1363,7 @@ There are 5 possible type of tags in a dashboard view:
A help message to dipslay in a tooltip (equivalent of help for a field in python)
- ``measure`` (optional)
- This attribute is the name of a field describing the measure that has to be used
+ This attribute is the name of a field describing the measure that has to be used
in the graph and pivot views when clicking on the aggregate.
The special value __count__ can be used to use the count measure.
@@ -1371,6 +1371,11 @@ There are 5 possible type of tags in a dashboard view:
<aggregate name="total_ojects" string="Total Objects" field="id" group_operator="count" measure="__count__"/>
+ - ``clickable`` (optional)
+ A boolean indicating if this aggregate should be clickable or not (default to true).
+ Clicking on a clickable aggregate will change the measures used by the subviews
+ and add the value of the domain attribute (if any) to the search view.
+
``formula``
declares a derived value. Formulas are values computed from aggregates.