8f38a7806a
Loading views for custom models from module data files was not possible because custom models and fields were introduced into the registry after all modules were loaded. As a consequence, the view architecture did not pass the checks. This patch takes a different approach: custom models and fields are loaded early on in the registry, so that views can be validated. The trick is to take special care of relational custom fields: we skip them if their comodel does not appear in the registry. This allows to install and upgrade modules that create/modify custom models, fields and views for them. |
||
---|---|---|
.. | ||
base | ||
test_access_rights | ||
test_convert | ||
test_converter | ||
test_documentation_examples | ||
test_exceptions | ||
test_impex | ||
test_inherit | ||
test_limits | ||
test_new_api | ||
test_uninstall | ||
test_workflow | ||
__init__.py |