Compare commits

...

1 Commits

Author SHA1 Message Date
Xavier BOL (xbo)
a0c6b5bf98 [IMP] backend: add default_group_by option in list view
Related PR: odoo/odoo#109281

task-3084850
2023-01-09 16:28:49 +01:00

View File

@@ -1854,6 +1854,11 @@ root can have the following attributes:
editable or not editable list can activate the multi-editing feature by defining
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``
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