Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2113 Представления

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
мая 24
7849
0
нояб. 22
80
1
июн. 22
7213
1
июл. 21
2779
1
июл. 21
4217