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

hello guys i have a model A and B

in model A have relation one2many to model B, in model B we have field active, but everytime field active in model B is false, it will not displayed in one2many field in model A, can you tell me how to show it, i want to show all record even if they active or not

Аватар
Отменить
Лучший ответ

Hi,

You can get it by passing active_test False in the context,

'active_test': False

Thanks

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
янв. 22
18499
3
июл. 19
5406
4
нояб. 20
7877
1
авг. 20
3918
0
нояб. 18
2503