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

I wanted to hide products from all customer. But the one who has specific tag added to them can access products and buy them.

What would be the best approach to move forward with it.

아바타
취소
베스트 답변

Hi Terry Arsenault,

You need to add many2many field in res.users model with relation of your tags.

And then inside this both model product.template and product.product Overide search_read orm method and based handle condition look like this way.

Thanks.

아바타
취소
관련 게시물 답글 화면 활동
user creation 해결 완료
1
6월 21
2811
2
3월 18
7991
3
12월 24
13516
11
8월 24
12975
1
7월 24
1973