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

I have 3 model A, B and C as described below


When I create a new B in A.b_ids I use a separated form view for B that hides a_id. Although after creating that new B, its a_id will be automatically filled with the id of A in the current context, its a_id is null before creating. And because of that, the domain of c_ids is broken - it's supposed to work with the id of A in the context.

Is there a way to make the domain work as supposed?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
toukok. 24
7856
0
marrask. 22
80
1
kesäk. 22
7222
1
heinäk. 21
2785
1
heinäk. 21
4223