Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4614 Переглядів

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.

    

 

Аватар
Відмінити
Найкраща відповідь

Try to add new rule

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
4749
1
серп. 19
4658
2
бер. 15
5165
0
бер. 15
3468
1
серп. 25
3491