cca7a7a051
Avoid "patching" the registry, as this introduces inconsistencies (some field attributes are lost). Instead, proceed as follows: - update the definition of custom fields in database; - clear the corresponding cache on the registry (this was missing); - setup the models in registry (this reloads the custom models and fields); - update the database schema of the models based on the registry. This makes the update of custom fields simpler and more robust. |
||
---|---|---|
.. | ||
base | ||
test_access_rights | ||
test_convert | ||
test_converter | ||
test_documentation_examples | ||
test_exceptions | ||
test_impex | ||
test_inherit | ||
test_inherits | ||
test_limits | ||
test_new_api | ||
test_uninstall | ||
test_workflow | ||
__init__.py |