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

I have user A and user B both part of the same group ("School"). 

I have field_1, field_2, field_3 in the view for this group. Is there any way I can make field_1 readonly for User A but not change it for User B or other Users of the group.


Similarly, would it be possible to make a new field_4 available only for user B and not for User A? And would it be possible to do this through Record Rules in the UI or will it require backend view changes.

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

Hi,

You can follow the video that my friend @Niyas Raphy pointing at.

OR

You can install this third-party module in your instance to create access rights for users as per your needs.

Odoo version 15: https://apps.odoo.com/apps/modules/15.0/simplify_access_management/.

Best Regards,

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

Hi,
If you are using v15 or below, you can achieve it by creating an inherited view and assigning group to the view.

See this video explaining the same:  Apply Changes In A View For Particular User Groups In Odoo



Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 24
2293
1
thg 12 19
4824
0
thg 12 16
3370
2
thg 6 24
2971
3
thg 8 23
6138