Odoo Help


Field not deleted from the table

Atchuthan - Technical Consultant, Sodexis Inc
on 7/4/14, 9:58 AM 1,388 views

I added a field test to the sale.order and I upgraded this module.

Afterwards, I had to remove this field "test" from sale.order.  But it is still shown in PgAdmin/Database.  

So how to remove the field in both py and in database.


Hi atchuthan,

You cannot remove a "field" from database just by removing it from py file, for that you will have to manually remove it from database. If you will unistall the module than the data under those tables will deleted so it is better to remove the field from database manually.


Vasiliy Birukov

--Vasiliy Birukov--
| 7 6 8
Russian Federation
--Vasiliy Birukov--

Help develop and implement any project on base Odoo.

Vasiliy Birukov
On 7/4/14, 10:28 AM

You have options:

1) Uninstall and Install module sale :)

2) Use SQL query

3) Don't worry, it don't affect work of openerp

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: 7/4/14, 9:58 AM
Seen: 1388 times
Last updated: 7/10/15, 4:05 AM