Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1818 Visualizzazioni

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 23
4108
0
apr 23
3068
1
dic 21
5084
5
giu 21
18032
1
mar 21
5871