Skip to Content
मेन्यू
This question has been flagged
1 Reply
3736 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
दिस॰ 24
4586
3
नव॰ 24
31006
1
दिस॰ 21
3240
0
दिस॰ 21
2822
1
नव॰ 19
3158