odoo/openerp/addons
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
..
base [FIX] ir_model: invalidate cache when adding new fields 2014-08-21 17:24:45 +02:00
__init__.py [IMP] openerp.addons: openerp.addons is used instead of 2012-01-09 13:41:20 +01:00
base_quality_interrogation.py [IMP] clean permissions and shebang in files 2013-05-14 12:33:33 +02:00