Odoo Help


Can't remove field from model

on 10/22/15, 10:01 AM 765 views

I am using odoo8, and I just created one field for model which is inherited from res.partner in py file. After i upraded the module, the field was generated in model res.partner. This is as expected. 

After a while I found the field which i just created is not needed actually, so I remove the code for the field in py file, and restarted server/upgraded the module. After that the field was still in model res.partner. Even after I deleted the field in pgsql database, the field was still there in the model.

Is this normal? How to remove a field in such case?

Juan Muñoz
On 10/22/15, 11:49 AM

You remove the field from xml file? Any line should have <field name="your_field_name_in_py_file" />

Actually, I did NOT add the field in the view xml file from the beginning.

on 10/22/15, 8:26 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/22/15, 10:01 AM
Seen: 765 times
Last updated: 10/22/15, 11:49 AM