コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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?

アバター
破棄
関連投稿 返信 ビュー 活動
3
5月 24
7849
0
11月 22
80
1
6月 22
7212
1
7月 21
2776
1
7月 21
4207