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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
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
|
9466 | ||
|
1
thg 10 15
|
6210 | ||
|
1
thg 3 15
|
3905 | ||
|
1
thg 3 15
|
10749 | ||
How can I create a Popup Message?
Đã xử lý
|
|
3
thg 5 24
|
15163 |