Odoo Help


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.


Module uninstallation Effect

on 8/8/14, 6:08 AM 649 views

A quick question here. For modules that add an extra field to a model, after inheritance,what happens on uninstallation? Are the additional columns deleted after uninstallation of the module?


Dhinesh - Technical Consultant, Sodexis Inc

--Dhinesh - Technical Consultant, Sodexis Inc--
| 5 4 9
Pondicherry, India
--Dhinesh - Technical Consultant, Sodexis Inc--

Passionate coder in Python/OpenERP. Knows Django/Flask MVC frameworks. Did code in Java, PHP.

Contact me at: dvdhinesh.mail@gmail.com

Dhinesh - Technical Consultant, Sodexis Inc
On 8/8/14, 6:22 AM

If you are uninstalling your custom module means, your simply deleting all your data's, tables, columns in database itself. Yes the additional columns are deleted after unistallation of the module.

You can find in server log itself when unistalling a module:

Eg log:
openerp.addons.base.ir.ir_model: Deleting 5389@ir.model.fields
openerp.addons.base.ir.ir_model: Deleting 852@ir.actions.act_window
openerp.addons.base.ir.ir_model: Deleting 1414@ir.ui.view
openerp.addons.base.ir.ir_model: Deleting 556@ir.ui.menu
openerp.addons.base.ir.ir_model: Deleting 549@ir.model

For instance, if a create a new module that adds a new field to purchase order by adding a new field...e.g department, on uninstalling my new module, will the new field disappear as well in the purchase order?

on 8/8/14, 7:07 AM

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)


Asked: 8/8/14, 6:08 AM
Seen: 649 times
Last updated: 3/16/15, 8:10 AM