Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
890 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất


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




Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you!! this is that I need

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1526
Odoo App Đã xử lý
1
thg 11 23
2110
0
thg 5 24
1841
0
thg 9 23
2771
0
thg 9 23
2408