跳至內容
選單
此問題已被標幟
2255 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 25
2
4
2月 25
2615
0
8月 24
1305
1
8月 24
2205
2
11月 24
3332