Skip to Content
Menu
This question has been flagged
1 Atsakyti
4939 Rodiniai

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

Portretas
Atmesti
Best Answer

Hi,

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

'active_test': False

Thanks

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
saus. 22
18525
3
liep. 19
5417
4
lapkr. 20
7905
1
rugp. 20
3961
0
lapkr. 18
2509