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

I'd like to use classic inheritance. Let's say A and B inherit from BASE.

I'd like to be able to create instances of A and instances of B, and all should be visible in the same view.

I naively created a tree view using the BASE model, and surprisingly it doesn't retrieve instances of children of the BASE class.


To me that's a basic case of inheritance, but it seems tricky with Odoo, or maybe I'm missing something obvious...

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
4110
0
thg 4 23
3068
1
thg 12 21
5084
5
thg 6 21
18033
1
thg 3 21
5872