diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-09-18 12:06:42 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-09-20 16:18:35 +0200 |
| commit | 5c4544fb2943e63fc1e0f5ae1e7e250a5a2b2cf1 (patch) | |
| tree | b7a9df3d595a8a28632535dc343f8cab1b1bf3cb /doc/reference | |
| parent | 2849b5cb395175c286ddebc269c7b16e7f97e9e6 (diff) | |
[IMP] web: Export grouped list view in xls file
PURPOSE
=======
Add the support of grouped exports.
Allow the user to export all records in one click from
the listview, without having to go through the export modal,
taking into account the domain, groupbys, and visible fields.
SPECIFICATION
=============
When exporting (whether it is from the modal or from the shortcut),
any groupby(s) set on the listview should be taken into account (all unfolded)
- UNLESS the export is import-compatible
- each subgroup header has an indentation compared to its parent
- the 'group headers' in the exported file should contain the
same info (label, field aggregates) as it has in the listview.
New secondary button on the tree view with label 'EXPORT' (to be confirmed...)
- the export shortcut disregard the selected records, it exports all records
according to the domain.
- the button is visible even if there is no selected records.
- essentially the export shortcut does the same thing as the following:
- select all records
- hit 'action' then 'export'
- hit 'export'
Define a boolean attribute on <tree> to specify whether or not the export shortcut should be displayed
Task 2072910
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/views.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index efe07c48076..139e040f0f6 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -219,7 +219,7 @@ root can have the following attributes: (``font-style: italic``), or any `bootstrap contextual color <https://getbootstrap.com/docs/3.3/components/#available-variations>`_ (``danger``, ``info``, ``muted``, ``primary``, ``success`` or ``warning``). -``create``, ``edit``, ``delete``, ``duplicate``, ``import`` +``create``, ``edit``, ``delete``, ``duplicate``, ``import``, ``export_xlsx`` allows *dis*\ abling the corresponding action in the view by setting the corresponding attribute to ``false`` ``limit`` |
