summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-06-30 19:15:30 +0200
committerOlivier Dony <odo@openerp.com>2014-07-01 03:29:05 +0200
commit9132b1d3066771704e629c7303c9c339415191d4 (patch)
tree0aa8be40a14fff0f04c9bd389216e567eb61f3f0 /addons/analytic_user_function/analytic_user_function_view.xml
parent686fea4b3e4ea32fb63139774cbc4643ca1aecb8 (diff)
[IMP] ir.filters: new filters are local to the menu/action by default
Allow binding an optional `action_id` to filters. The web client will try to identify the specific action ID when saving new filters. If no contextual action exists, the filter is saved globally for the model. This will automatically keep filters within their original menu when there are several menus/actions leading to a given list of documents. In some cases the action_id will not match the filter model, which should be fine (e.g. when opening a many2one completion popup for model `foo` within a menu of model `bar`). It is also still be possible to have a filter apply to all actions/menus for a given model by manually deleting the action_id value in the filter (e.g. via the Manage Filters debug menu). When updating a filter the action_id value is ignored so that old global filters will be gradually replaced by new "local" filters. Also added an _order to ensure stable ordering of the filters.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions