Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
904 มุมมอง

How to deny access to a user in a specific warehouse?


For example, the user John Doe can only access the warehouse called "MyWarehouse"


thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด


1) Create a new field x_warehouse on model "res.users"


2) On the user, edit the form view and add the bold code (tag enables to choose multiple warehouses) in the inherited view created with Studio:

Only take the bold code in the following path.


3) Create a record rule :

3.1 For the Warehouse


3.2. For the locations 


3.3. For the pickings




อวตาร
ละทิ้ง
ผู้เขียน

Thank you!! this is that I need

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 25
1558
Odoo App แก้ไขแล้ว
1
พ.ย. 23
2174
0
พ.ค. 24
1890
0
ก.ย. 23
2812
0
ก.ย. 23
2475