[IMP] backend: add default_group_by
option in list view
Related PR: odoo/odoo#109281 task-3084850 closes odoo/documentation#3311 Related: odoo/enterprise#35504 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
ad6cde3181
commit
b909a21d1f
@ -1854,6 +1854,11 @@ root can have the following attributes:
|
|||||||
editable or not editable list can activate the multi-editing feature by defining
|
editable or not editable list can activate the multi-editing feature by defining
|
||||||
the `multi_edit=1`
|
the `multi_edit=1`
|
||||||
|
|
||||||
|
``default_group_by``
|
||||||
|
whether the list view should be grouped if no grouping is specified via
|
||||||
|
the action or the current search. Should be the name of the field to group
|
||||||
|
by when no grouping is otherwise specified
|
||||||
|
|
||||||
``default_order``
|
``default_order``
|
||||||
overrides the ordering of the view, replacing the model's order (:attr:`~odoo.models.BaseModel._order` model attribute).
|
overrides the ordering of the view, replacing the model's order (:attr:`~odoo.models.BaseModel._order` model attribute).
|
||||||
The value is a comma-separated list of fields, postfixed by ``desc`` to
|
The value is a comma-separated list of fields, postfixed by ``desc`` to
|
||||||
|
Loading…
Reference in New Issue
Block a user