تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
7977 أدوات العرض

I am dealing with a hospital where I want to restrict users/staff members of a department (for example, pharmacy) to view only the products related to pharmacy and not other. 


so this way, we will allocate product categories to the user from "user management. 

Is there any solution or module for it? 

الصورة الرمزية
إهمال
أفضل إجابة

There is a way to do so.

You can add product category (m2o field) in User and create one record rule so that user can access only those category of products he belongs to.

Sudhir Arya
ERP Harbor Consulting Services
Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
الصورة الرمزية
إهمال
أفضل إجابة

I recommend to create particular groups for which certain product categories are allocated using record rules and assign these groups to the users. 

You can control to each user what categories he can see and this way modifying the access to any user becomes very flexible and easy without having to do any new customisation to standard Odoo. 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

@Sudhir Arya,


Don't we already have a field named product category in odoo? can we play with that field for it? 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
user creation تم الحل
1
يونيو 21
2547
2
مارس 18
7633
2
يوليو 25
1052
3
ديسمبر 24
13185
2
نوفمبر 24
1321