콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5038 화면

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
18663
3
7월 19
5524
4
11월 20
8013
1
8월 20
4022
0
11월 18
2592