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

Hello every one, i want to ask why does domain didn't work on my xml and i tried to put it on my python class field but still it didn't work? Can anyone answer pls!

아바타
취소

There can be various of reasons Anirudh. I would suggest that you put forward your specific case in more details.

Provide your scenario with code

베스트 답변

Hi Anirudh,

Domain should work in both xml and py file. Please check the syntax again. Make sure it of the form domain =[('field_name','operator',value)]. For example it should be like, domain="[('responsible_id', '=', uid)].

아바타
취소