跳至内容
菜单
此问题已终结

Hy @all,

In addition to checking in and out I want the user to be able to edit their own attendance times as well. They should not be able to see and edit the times of other employees.

It's about the view "hr.attendance.tree". Here the user should only see his own times. The display or a search for other employees should not be possible in this view.

I've added the users to the Manual Attendance group and granted permission. I have added the corresponding menu. At various points I tried to adjust that the user can only see his own times. Unfortunately without success. Although the view is filtered for the user. However, if I remove the filter, all times of all users are displayed. That should not be.

I'm happy about any help!

形象
丢弃
编写者

To get ahead in the matter, I have tried the mentioned extension. Unfortunately, they did not install.

I looked at the content, especially the xml file, and made the changes manually. Now it is as expected. Thanks for that!

But:

The manual editing of the entries succeeds only partially. If I want to change the checkin or checkout time of an entry later, then I get the error message that the user has already checked in for <new time>.

I am thankful for hints!

编写者 最佳答案

Hi Niyas,

thanks for the hint!

I would like to regulate this via rules and permissions, first. That should be possible. Or isn't it?

I forgot:
Odoo 11.0-20181126 (Community Edition)

Best regards..

形象
丢弃
最佳答案

Hi,

Please have a loot at this free module available in the Odoo store providing same functionality: https://apps.odoo.com/apps/modules/10.0/hr_employee_attendance/

Thanks

形象
丢弃
相关帖文 回复 查看 活动
5
7月 18
6254
1
10月 23
1900
4
12月 22
7475
2
8月 22
3486
0
3月 15
4455