Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2264 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
2
4
thg 2 25
2654
0
thg 8 24
1316
1
thg 8 24
2223
2
thg 11 24
3356