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.

0

Uninstall a module without losing info in the DB

By
Pau Ubach
on 9/23/14, 6:23 AM 733 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
0
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.

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

2 follower(s)

Stats

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