Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4222 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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
 

Awatar
Odrzuć
Autor

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?

Powiązane posty Odpowiedzi Widoki Czynność
2
maj 21
9427
1
paź 15
6147
1
mar 15
3873
1
mar 15
10677
3
maj 24
15096