Ir al contenido
Menú
Se marcó esta pregunta
2251 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
2
4
feb 25
2607
0
ago 24
1303
1
ago 24
2199
2
nov 24
3325