Hi
I am in Odoo 12 as an admin user and I want to restrict a user from access to a specific view of a model. For example I'm going to restrict user named Sina to see tree view of res.partner model. I went to Technical Settings > User Interface > Views and find the view named "res.partner.tree". Then in the "Access Rights" tab added a group which user Sina is a member of that. But this restriction doesn't work and when I login by Sina I can see any view I want. What is the problem?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
The method you used is incorrect. If you dont want to show one view/menu to a user, You have to add groups to that view/menu in which the user is not a member. In your case you have to add a group in which Sina is not member. If you add a group in which Sina is member, then definitely Sina will see that menu/view. If no group is assigned for a menu/view all the users will see that menu/view. If any group is assigned, then all the members of that group can see that menu/view.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 5 19
|
9114 | ||
|
3
thg 12 18
|
3055 | ||
Hide a field using a new group
Đã xử lý
|
|
1
thg 2 17
|
3523 | |
|
1
thg 9 15
|
3284 | ||
|
1
thg 3 25
|
2418 |