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

How I can hide the create/ delete option in odoo from specific user group and I created the following code but it doesn't work correctly Request Viewer equipment.request.form maintenance.request

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

Hi,

You can manage the acces by creating record rules for the users,From the record record rule you can manage the create/delete access for specific user groups.Please refer the below blog to know how to create a record rule

How to Create Record Rule in Odoo 16


Hope it helps





 

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

Hi 

You have the ability to modify access permissions for creating and writing to that model within CSV security files as outlined below.

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
id_for_the_access,access_record_name,module_name.model_name,group_name,1,0,0,0

or You can create some record rules for the user 


Check the following references


Record rules in odoo


Regards


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 25
1376
2
thg 1 24
1608
1
thg 12 23
1479
1
thg 6 23
1903
1
thg 6 23
4719