Skip to Content
Menu
This question has been flagged
1 Reply
5073 Views

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
Discard
Best Answer

Hi,

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

'active_test': False

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 22
18692
3
Jul 19
5553
4
Nov 20
8026
1
Aug 20
4067
0
Nov 18
2624