コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4267 ビュー

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?

アバター
破棄
最善の回答

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?

関連投稿 返信 ビュー 活動
2
5月 21
9458
1
10月 15
6179
1
3月 15
3884
1
3月 15
10719
3
5月 24
15126