Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4602 Ansichten

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
Verwerfen
Beste Antwort

Try to add new rule

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 15
4746
1
Aug. 19
4656
2
März 15
5159
0
März 15
3465
1
Aug. 25
3490