Skip to Content
Menu
This question has been flagged

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...

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugp. 23
4108
0
bal. 23
3068
1
gruod. 21
5084
5
birž. 21
18032
1
kov. 21
5872