Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2233 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 25
2
4
feb 25
2565
0
ago 24
1300
1
ago 24
2145
2
nov 24
3302