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

Is there a way to limit the access to a product for a special user group?

E.g. I want a user only to see products which are "allowed" to him.

아바타
취소

Hi,


Can you share your solution?


Regards

베스트 답변

Step 1 - Create  a new product category 

Step 2 - put the products you do not want other user to see in to a category

Step 3 - create a filter which excludes the product category and save it

step 4 - go to user defined filter and find the filter name you just saves and copy the domain from there

Step 5 - now to record rules and create a new record and paste the domain under rule definition (domain filter)

and also add the user type in the group names line you want to exclude and save it.

Now you will see users under those group cannot view the products under that product category.

ps- if you want to give access to a user of the same group then just go to settings>>user>>user name >>record rules >> select the rule >> archive it. By this method you can actually control the views and access right

 I hope it helps . Thank you

Srijita Banerjee

Jr. Odoo Consultant

Tel: +353 1 886 5684 (IE) +44 121 285 5684 (UK)  +91 964 381 7554 (IN)

 

Target Integration | CRM ERP Cloud

Website | LinkedIn | Twitter | Facebook | YouTube | Instagram

아바타
취소

Thanks Srijita; this one inspired me to create a similar solution for quite the same problem.

Hello Srijita. Thank you for this detailed explanation. I'm wondering, can we set this up on ecommerce with odoo online version 17? I'd like to avoid switching to odoo SH.

@benoit, yes you can. This is possible from developer mode.

베스트 답변

Hi,

You can create record rules on product object on "Product Manager" field.

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

아바타
취소
작성자

Please, can you explain more in detail?

관련 게시물 답글 화면 활동
1
1월 25
6206
0
8월 17
2798
1
6월 24
1522
5
9월 21
7237
2
6월 21
6511