odoo/openerp/addons/base/tests
Martin Trigaux 0ab88f54f9 [FIX] ir_model: invalidate cache when adding new fields
When a new ir.model.field is created, add the new field in the fields_by_model (cache of custom fields). This is required as the __init__ method would not retrieve the new field if fields_by_model is already set.
Otherwise, the _columns would not contain the new fields and we could not access it without restarting the server (e.g. the installation of a module adds ir.model.fields and use it in the a view.
2014-08-21 17:24:45 +02:00
..
__init__.py [FIX] ir_model: invalidate cache when adding new fields 2014-08-21 17:24:45 +02:00
test_base.py [ADD] res_partner: test case for fix rev 4a27880974 2014-08-04 15:54:56 +02:00
test_expression.py [FIX] expression: when evaluatoing *like operator, add cast to text to column in case of different type 2014-04-09 16:43:46 +02:00
test_ir_attachment.py filestore testcase and fix bugs 2012-12-16 20:03:17 +01:00
test_ir_model.py [FIX] ir_model: invalidate cache when adding new fields 2014-08-21 17:24:45 +02:00
test_ir_values.py [FIX] do not hardcode ids in tests 2012-12-05 18:37:33 +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_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_views.py [FIX] ir.ui.view: properly validate newly created inheriting views 2013-09-12 16:10:18 +02:00