Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4903 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

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

'active_test': False

Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 22
18490
3
lug 19
5402
4
nov 20
7867
1
ago 20
3903
0
nov 18
2497