Skip to content

Commit

Permalink
Merge PR #736 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by alexey-pelykh
  • Loading branch information
OCA-git-bot committed Nov 29, 2019
2 parents 796e52d + e1ccf35 commit 4a5c992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hr_attendance_autoclose/models/hr_attendance.py
Expand Up @@ -10,6 +10,7 @@ class HrAttendance(models.Model):
_inherit = "hr.attendance"

@api.multi
@api.depends('check_out', 'check_in')
def _compute_open_worked_hours(self):
for attendance in self:
if attendance.check_out:
Expand Down

0 comments on commit 4a5c992

Please sign in to comment.