odoo/openerp/addons
Sylvain GARANCHER 11cd22711c [FIX] Fix check_xml when inheriting from views created in the same module
When inheriting from a view in extension mode created in the same module, this
view was not loaded during check_xml of the last view.
This caused an error when the last view wants to modify elements added
by its direct parent view.

Example :
- View1, created in module "account"
- View2, mode extension, created in module "customer", inherits View1
- View3, created in module "customer", inherits View2

During update of module "customer", when loading View3, the check_xml
call didn't load View2, because it's defined in the same module (and,
obviously, this module has not be totally loaded at this point)

This is fixed by adding direct parent of each loaded view in the
check_view_ids list in context, to force them to be loaded.

Closes #9135
2015-12-22 14:14:59 +01:00
..
base [FIX] Fix check_xml when inheriting from views created in the same module 2015-12-22 14:14:59 +01:00
test_access_rights [ADD] demonstrate broken handling of rules access denial in new API 2014-07-11 13:54:01 +02:00
test_convert [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_converter [FIX] report,qweb: use non-beaking space between amount and currency 2015-05-05 08:27:04 +02:00
test_documentation_examples [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_exceptions [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_impex [FIX] YAML: `!menuitem` tag handling 2015-09-28 17:15:38 +02:00
test_inherit [FIX] fields: make overriding a property field by a function/computed field work 2015-10-26 17:25:47 +01:00
test_inherits [FIX] model: wrong alias used in read query for multi-inherited field 2015-05-12 13:42:27 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api [FIX] osv: fix boolean in domain for custom field 2015-12-04 16:31:31 +01:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
__init__.py move tests 2014-02-09 01:37:45 +01:00