Odoo Help


why special columns are not handled as other fields ?

Michel Meyer
on 2/3/14, 5:41 AM 1,107 views


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 ?


Med Said BARA

--Med Said BARA--

| 5 5 7
--Med Said BARA--
Med Said BARA
On 2/3/14, 8:16 AM

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 ......)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/3/14, 5:41 AM
Seen: 1107 times
Last updated: 3/16/15, 8:10 AM