Skip to content
Snippets Groups Projects
Commit 9fc91bd3 authored by Denis Vermylen (dve)'s avatar Denis Vermylen (dve)
Browse files

[FIX] attendance: forgotten rename

couldn't find a group after rename. -> renamed
parent 2c13736c
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@ class HrEmployee(models.Model):
@api.multi
def _inverse_manual_attendance(self):
manual_attendance_group = self.env['res.groups'].search([('name', '=', 'Manual Attendances')])
manual_attendance_group = self.env['res.groups'].search([('name', '=', 'Manual Attendance')])
for employee in self:
if employee.user_id:
if employee.manual_attendance:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment