Odoo Help


Uninstall a module without losing info in the DB

Pau Ubach
on 9/23/14, 6:23 AM 1,129 views

When I uninstall a module, its tables are deleted from the DB. 


Is there any way to avoid this behavior and don't lose the data?

Can you please tell us more about your use case? Why do you want to keep the data? Would like to be able to reinstall the module and keep the data for that moment?

Miku Laitinen
on 9/24/14, 4:46 AM

Hi Miku, yes, it is the idea, to be able to have the data if we ever decide to reinstall the module.

Pau Ubach
on 9/24/14, 4:48 AM
Miku Laitinen
On 9/24/14, 5:00 AM

You might want to consider backuping the data before uninstalling the module and restoring the backup data when it's needed again. This would be a universal solution.

The other option is to leave the module installed and instead of uninstalling it, remove all access rights from users that are related to the module. I guess one option is just to hide the menu item. These options aren't good solutions with modules that somehow modify existing modules.

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

2 follower(s)


Asked: 9/23/14, 6:23 AM
Seen: 1129 times
Last updated: 3/16/15, 8:10 AM