Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4910 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

'active_test': False

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 22
18492
3
lip 19
5402
4
lis 20
7870
1
sie 20
3904
0
lis 18
2500