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

I have a new model that has some Product and Client specific data. When I add a ManyToOne field I have 2 problems. the first is that I can't find a way to select which field it will show. The second is that I need to show only the data corresponding to the customer of this order and the product of this line. I tried several things, but none worked. I would appreciate any help.

아바타
취소
작성자 베스트 답변

I've figured it out. The easiest way is to add a domain that filters what you need. Because it doesn't allow to equal to a field, you have to edit after this the XML file and remove the quotes. Be aware that entering the domain again will put the quote back in, so you will need to remove them again. I can't get why Studio by default only allows Numbers or Strings to eval, when only removing the quotes makes this tool so much useful.

Thanks anyways. 

아바타
취소

DUDE...THANK YOU!!!!! Why Odoo, why would you do this?

관련 게시물 답글 화면 활동
5
10월 24
12451
3
10월 18
4162
2
4월 24
5323
0
1월 23
2068
0
5월 21
1488