~acsone-openerp/ocb-web/active_domain-7.0-backport

Viewing all changes in revision 4038.

  • Committer: Stéphane Bidoul
  • Author(s): Thibault Delavallée
  • Date: 2013-10-04 11:35:40 UTC
  • Revision ID: stephane.bidoul@acsone.eu-20131004113540-5gcepqpbv7bhj0i3
[BACKPORT] active_domain management for mass actions

[IMP] list_view: uncheck header hook when unchecking one of the row displayed in the list view. This is done through the propagation of a deselected flag through the 'selected' event.

[IMP] list_view: added get_active_domain method that returns the evaluated current domain (from the search view), if the header hook is checked

[IMP] sidebar (More menu): add in the action context the active_domain if the list header hook is checked

[IMP] export: now works on the active_domain if the list header hook is checked; otherwise use selected_ids. The search using the active_domain is done in the python code, not JS-side.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: