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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
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.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 5 21
|
9457 | ||
|
2
thg 12 18
|
11719 | ||
|
1
thg 3 15
|
3881 | ||
|
1
thg 3 15
|
10715 | ||
|
1
thg 11 16
|
3655 |
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?
Hi Miku, yes, it is the idea, to be able to have the data if we ever decide to reinstall the module.