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

Hi,

Anyone suggest me how to set domain for o2m in (.xml) view

아바타
취소

Hello Prabhu

Try to do it within .py ,it will work always, but is there any specific purpose to apply in .xml ?

Thanks !

작성자

Yes, Mr. Dipak Shah. I have two forms of the parent class, when I add the domain in python it will apply to all forms. So, I need a domain for one form.

Okay . What if you are manipulate the domain using def fields_view_get method where you can check the specific form and and alter the domain as you want. :)