Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/4/14, 9:58 AM|
|Seen: 865 times|
|Last updated: 7/10/15, 4:05 AM|