Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 23
4110
0
huhtik. 23
3068
1
jouluk. 21
5084
5
kesäk. 21
18033
1
maalisk. 21
5872