summaryrefslogtreecommitdiff
path: root/addons/web/tests/__init__.py
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-09-18 12:06:42 +0200
committerYannick Tivisse <yti@odoo.com>2019-09-20 16:18:35 +0200
commit5c4544fb2943e63fc1e0f5ae1e7e250a5a2b2cf1 (patch)
treeb7a9df3d595a8a28632535dc343f8cab1b1bf3cb /addons/web/tests/__init__.py
parent2849b5cb395175c286ddebc269c7b16e7f97e9e6 (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 'addons/web/tests/__init__.py')
-rw-r--r--addons/web/tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/tests/__init__.py b/addons/web/tests/__init__.py
index 1ed329bafe1..b479a574e46 100644
--- a/addons/web/tests/__init__.py
+++ b/addons/web/tests/__init__.py
@@ -6,3 +6,4 @@ from . import test_js
from . import test_menu
from . import test_serving_base
from . import test_click_everywhere
+from . import test_export