Skip to content

Commit

Permalink
Merge PR #737 into 11.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 8f53cf3 + 096160a commit b4cb267
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 @@ -11,6 +11,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 b4cb267

Please sign in to comment.