Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2254 Представления

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 25
2
4
февр. 25
2613
0
авг. 24
1304
1
авг. 24
2201
2
нояб. 24
3328