Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2452 Zobrazení

I work on Odoo 15 cloud, 

Suppose I have Warehouse-A, Warehouse-B and Warehouse-C and I want User-A will only access Warehouse-A, same with Warehouse-B for User-B only and Warehouse-C for User-C. Is it possible to restrict warehouses for specific user? Please help anyone thank you so much in advance.

Avatar
Zrušit

Perhaps, this module - https://apps.odoo.com/apps/modules/15.0/stock_limitation/ - will be of use to you

Nejlepší odpověď

Hi,

It is possible to achieve this through record rules. You can create seperate group for each warehouse and to these groups you can give the necessary record rule. In your example, lets consider user A and warehouse A - define a group "Warehouse-A Access". Define a record rule say "Warehouse A restrictions" on the model 'Warehouse' and define the rule as [('id','=',1)] (here I'm assuming the id of wh A as 1). Assign this record rule to the group 'Warehouse-A Access'. This will restrict the user A to only warehouse A.

You need to ensure that there are no other groups/rules which will override this access to give the user access to other warehouses.

Avatar
Zrušit