コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4914 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 22
18499
3
7月 19
5403
4
11月 20
7877
1
8月 20
3908
0
11月 18
2503