summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-01-28 14:40:39 +0000
committerAaron Bohy <aab@odoo.com>2020-01-30 10:29:25 +0000
commitb5d608036654189a1d233236d3b1f1319c92e0e2 (patch)
treeff818f5fed8c2d3e0074d88ebadd0866ccd92826 /doc/reference/javascript_reference.rst
parentee522b1c3f3499e42cd5319ab0a5e3a26ba1244a (diff)
[IMP] web: sidebar actions: send 'select_all' info
In a list view, select some records (either by selecting them one by one, or by clicking on the header to select all records), then click on an action (except for the special case of 'Export') in the sidebar. Some information about the selection is put into the context: - active_ids: the ids of the selected records (only those of the current page) - active_domain: the current domain However, before this commit, there were no way to determine whether the user checked the header checkbox (i.e. all records), or some of them individually. This commit adds the information, with a 'select_all' key in the context. Note that this is a quick solution, as we need it right now for an accounting usecase. A more elaborate solution, which will allow the user to choose whether he wants to apply the action on the selected ids or on the whole domain, will be developped soon. Part of Task 2146469 closes odoo/odoo#44248 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions