odoo/openerp/addons/base/tests
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
..
__init__.py [FIX] tests move test_ui to web as it requires web.login template 2014-02-16 22:44:56 +01:00
base_test.yml [IMP] cleanups, move tests, remove deprecated model instantiation 2014-05-01 20:42:17 +02:00
test_acl.py move tests 2014-02-09 01:37:45 +01:00
test_base.py [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_basecase.py move tests 2014-02-09 01:37:45 +01:00
test_db_cursor.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
test_expression.py [MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5 2014-04-10 12:54:54 +02:00
test_fields.py [MERGE] forward port of branch saas-3 up to revid 5088 chs@openerp.com-20140311095550-lg3nvvjyojvgp2po 2014-03-11 14:38:50 +01:00
test_func.py [FIX] re-enable test func and qweb 2014-02-09 15:33:26 +01:00
test_ir_actions.py [ADD] Test that the variable 'workflow' is correctly assigned in Python server actions (if not, the code will crash) 2014-02-21 13:57:08 +01:00
test_ir_attachment.py [FIX] test ir_attachment: files are not directories 2014-01-16 23:42:07 +01:00
test_ir_filters.py [IMP] ir.filters: new filters are local to the menu/action by default 2014-07-01 03:29:05 +02:00
test_ir_rule.yml [IMP] cleanups, move tests, remove deprecated model instantiation 2014-05-01 20:42:17 +02:00
test_ir_sequence.py [IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager 2014-04-09 11:56:04 +02:00
test_ir_values.py [FIX] do not hardcode ids in tests 2012-12-05 18:37:33 +01:00
test_mail.py [FIX] re-enable test func and qweb 2014-02-09 15:33:26 +01:00
test_mail_examples.py move tests 2014-02-09 01:37:45 +01:00
test_menu.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00
test_misc.py move tests 2014-02-09 01:37:45 +01:00
test_orm.py [IMP] adds a test for the new eager/lazy functionality of read_group 2014-04-07 11:10:28 +02:00
test_osv.py move tests 2014-02-09 01:37:45 +01:00
test_osv_expression.yml [IMP] cleanups, move tests, remove deprecated model instantiation 2014-05-01 20:42:17 +02:00
test_qweb.py [FIX] qweb tests re. inherit_branding enabling/disabling injection of data attributes 2014-03-17 16:24:24 +01:00
test_res_config.py [FIX] res_config tests: isinstance(x, long) is False when x is an int! 2013-05-08 17:32:07 +02:00
test_res_lang.py [FIX] remove useless asserts text 2013-02-12 15:18:30 +01:00
test_search.py [MERGE] Merged branch holding a proposal to solve the generate_order_by issue (see lp:1070757). As requested by Olivier Donny, this fix has been moved into generate_order_by. Deleted previous workaround done in this branch. Patch courtesy of Paulius Sladkevičius 2012-12-07 16:58:25 +01:00
test_translate.py move tests 2014-02-09 01:37:45 +01:00
test_uninstall.py [IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager 2014-04-09 11:56:04 +02:00
test_view_validation.py move tests 2014-02-09 01:37:45 +01:00
test_views.py [REM] test for removed 'feature' of refusing always -> disabled writes on views 2014-06-05 16:08:42 +02:00
test_xmlrpc.py [IMP] phantomjs testing 2014-02-16 22:22:22 +01:00