Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3166 Tampilan

Hi ...

i make new Group Rules for all user sales. and make the sales can view all records sales team and can edit their own record.


in access right i check READ , CREATE, WRITE and DELETE

in record rules i make new and access right in only READ


but after save , all user can edit all other user record. So, i think the record rules tab is not working and still follow the access right tab

Avatar
Buang
Jawaban Terbai

Thank you for the answer. i see in the article is a Manager to update all employess record and all employee can see their own record.

if in my case i want like this :

All Manager can see all employee records and can update it,

All Employee can see all employee records but only their own record can edit, not other user records. 


For example :

I'm the user , in my office have 5 users and 1 manager.

My manager can see and update the teams report , and also i can see that but for access edit, only me can edit my records but i only can read other user team reports.


please help for my case.


Avatar
Buang
Jawaban Terbai

Hi,

Access rights in Odoo are defined at the model level, and the actions a user can perform on a model are determined (Create, Read, Write, Delete).

Record rules provide more control and are used to restrict access to records within a model. These rules are specified using domain filters and can be applied to specific user groups.

In your case, maybe the record rules are defined incorrectly. take a look at the below reference and make the required corrections in your record rule.

https://www.odoo.com/forum/help-1/how-to-create-record-rules-143881

Thanks

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jan 24
2420
2
Agu 23
2848
3
Agu 23
6303
1
Des 20
7314
1
Mei 20
5962