[MIG] hr_attendance_work_entry: to Odoo 14.0

This commit is contained in:
Jared Kipe
2020-11-26 05:00:03 -08:00
parent d52761f5bc
commit b3cb28b174
3 changed files with 3 additions and 2 deletions

View File

@@ -44,4 +44,5 @@ class TestAttendanceWorkType(common.TransactionCase):
attendance = self.employee._attendance_action_change()
self.assertEqual(attendance.work_type_id, self.default_work_type)
self.assertEqual(attendance.work_type_id.attendance_state, 'checked_in')
self.assertEqual(self.employee.last_attendance_id, attendance)
self.assertEqual(self.employee.attendance_state, 'checked_in')