Martin Trigaux
authored
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.
Name | Last commit | Last update |
---|---|---|
addons | ||
debian | ||
doc | ||
history | ||
install | ||
openerp | ||
scripts | ||
win32 | ||
.gitignore | ||
LICENSE | ||
LICENSE.web | ||
MANIFEST.in | ||
README | ||
README.web | ||
openerp-server | ||
openerp-wsgi.py | ||
setup.cfg | ||
setup.nsi | ||
setup.py | ||
setup_rpm.sh |