Odoo Help

0

Uninstall a module without losing info in the DB

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

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

Question tools

2 follower(s)

Stats

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