Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4597 มุมมอง

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
4740
Leave approval access for Manager in V11 แก้ไขแล้ว
1
ส.ค. 19
4656
2
มี.ค. 15
5142
0
มี.ค. 15
3463
1
ส.ค. 25
3488