Skip to Content
Menu
This question has been flagged
1791 Views

Its there a way to know which fields are inherited from other models and which are not in Odoo?

For example I have the model "note.note", and I can use SELECT column_name FROM information_schema.columns WHERE table_name=‘note_note’; to have the column names, or I can also do a "note_id.read()" in an existing record to read all the fields. 

But I need to exclude the columns that were added by inheritance. Is it possible?

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 24
158
1
Aug 24
430
2
Nov 24
764
1
Jul 24
734
3
Oct 23
13197