Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4907 Переглядів

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
18492
3
лип. 19
5402
4
лист. 20
7869
1
серп. 20
3904
0
лист. 18
2500