Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4611 Tampilan

I am using openerp7.

I have a task that, restricting the user to update his employee details only and not other employees.

I worked on this with following steps,

1) Giving access control, write permissions to the user belonging group

2) Adding two record rules

But the problem is system is allowing the user to see edit button of other employees & make him to go there and change data. When user clicks on save. System says "Access Denied".

Encouraging user to that save button is embarrassing for th user. We need to hide edit button at view employee page itself.

Please help.

    

 

Avatar
Buang
Jawaban Terbai

Try to add new rule

[('employee_id.user_id', '=', user.id)]

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
4749
1
Agu 19
4657
2
Mar 15
5164
0
Mar 15
3467
1
Agu 25
3491