跳至内容
菜单
此问题已终结
3 回复
7959 查看

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
6月 21
2531
2
3月 18
7609
2
7月 25
1002
3
12月 24
13155
2
11月 24
1303