summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorDhruv Patel <dhp@odoo.com>2020-03-16 04:55:53 +0000
committerAaron Bohy <aab@odoo.com>2020-03-31 19:15:10 +0000
commitae610d0e205da921111b5a320dec833d84b05056 (patch)
treecee9944daad0d58986d75823ac5562768d1f264d /doc/reference
parent2516c0a212a7181fb8f54ce1bd5b46b30ffd8edf (diff)
[IMP] web: graph: drill down to records in bar/pie charts
After this commit, in the graph view, when the user clicks on parts of the bar and pie charts, it opens the list view of the concerned records (like what was already done in the pivot view). This is the default behavior, but it can be deactivated by setting the attribute 'disable_linking' to true in the view. Task 2198461 closes odoo/odoo#47796 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 65951b75f5b..c36327df7aa 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1072,6 +1072,8 @@ attributes:
``stacked``
only used for ``bar`` charts. If present and set to ``True``, stacks bars
within a group
+``disable_linking``
+ set to ``True`` to prevent from redirecting clicks on graph to list view
The only allowed element within a graph view is ``field`` which can have the
following attributes: