Skip to Content
Menu
This question has been flagged
2237 Rodiniai

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?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 25
2
4
vas. 25
2582
0
rugp. 24
1301
1
rugp. 24
2169
2
lapkr. 24
3308