summaryrefslogtreecommitdiff
path: root/doc/reference/views.rst
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-03-13 11:38:11 +0000
committerAaron Bohy <aab@odoo.com>2019-04-02 11:55:57 +0000
commit5895d23cbd26beb3bc3c83cc760b3cdbb64b0e85 (patch)
tree255f83f6d6518d292f8c65464ffa736691fc0b03 /doc/reference/views.rst
parent234d92c4f0c092dca9f10d194ddcff998fc3a886 (diff)
[IMP] web: list: add expand attrs
When this attribute is set to true on the <tree> root node, in a grouped list view, first level groups are automatically opened. Part of task 1915702
Diffstat (limited to 'doc/reference/views.rst')
-rw-r--r--doc/reference/views.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 68d024e47db..0e2e30cf602 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -221,6 +221,9 @@ root can have the following attributes:
corresponding attribute to ``false``
``limit``
the default size of a page. It should be a positive integer
+``expand``
+ when the list view is grouped, automatically open the first level of groups
+ if set to true (default: false)
Possible children elements of the list view are: