odoo/openerp/addons
Olivier Dony 9132b1d306 [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.
2014-07-01 03:29:05 +02:00
..
base [IMP] ir.filters: new filters are local to the menu/action by default 2014-07-01 03:29:05 +02:00
test_convert move tests 2014-02-09 01:37:45 +01:00
test_converter [FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9 2014-06-10 18:46:40 +02:00
test_exceptions Set old form views as explicit @version="6.1" 2014-06-11 14:04:02 +02:00
test_impex [MERGE] forward port of branch saas-3 up to revid 5093 chs@openerp.com-20140318114540-l50kmo4azb57g31x 2014-03-18 13:41:12 +01:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow Convert form views @version="6.1" 2014-06-12 13:55:40 +02:00
__init__.py move tests 2014-02-09 01:37:45 +01:00