Odoo Help

Welcome!

This community 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.

1

Field not deleted from the table

By
Atchuthan - Technical Consultant, Sodexis Inc
on 7/4/14, 9:58 AM 802 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.

1

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.

0

Vasiliy Birukov

--Vasiliy Birukov--
3446
| 6 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/4/14, 9:58 AM
Seen: 802 times
Last updated: 7/10/15, 4:05 AM