Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4936 Näkymät

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
Hylkää
Paras vastaus

Hi,

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

'active_test': False

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 22
18523
3
heinäk. 19
5417
4
marrask. 20
7904
1
elok. 20
3959
0
marrask. 18
2509