Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3713 Tampilan

Hi,

All models have some special fields, like write_date, create_date, id,...

But I have some issues with these fields:

  • There's no ir.model.fields entry for them, so we can't have a reference to them
  • If I inherit a model in a specific module and explicitly specify them, they will be accessible as ir.field but if I remove this module, OpenERP will remove these fields on the database (and not on the model...)

Is there any solution to have a reference on ir.model.fields to them and keep them even if the module that use this reference is removed ?

Avatar
Buang
Jawaban Terbai

Hello; When it's an inherited columns, i think we must put a constraint on it ( like ON DELETE NO ACTION and ON UPDATE SET NULL ......)

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 24
4576
3
Nov 24
30987
1
Des 21
3220
0
Des 21
2810
Colimn invisible Diselesaikan
1
Nov 19
3149