Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4908 Prikazi

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

Avatar
Opusti
Best Answer

Hi,

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

'active_test': False

Thanks

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jan. 22
18492
3
jul. 19
5402
4
nov. 20
7869
1
avg. 20
3904
0
nov. 18
2500