I am developing new modules for real estate on my Synology DS412+, when i modify one of my new modules:
- if for example, i add a new field : "basement" in the .py file and in the .xml file
when i click to update the modified module, OpenERP check the coherence of the modified module and say that the new fields dont exist in the model:
Error message:
except_orm: ('View error', u"Can't find field 'basement' in the following view parts composing the view of object model 'apartment':\n * apartment.formb\n * apartment.form\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
As if OpenERP did not complile the modified module and dont create the new field....
I have read on this forum that i have to restart the OpenERP Server so that the modified module is recompiled. But it is not enough, the same error occurs.
To resolve the problem i have created a new module who inherit from the object i want to modifiy and inserted the new field in the second module by heritage. It works but it is not very acceptable to do this...
Could you please say me what is wrong in my approach????