From b4f91659a1bec8113ce90c09b232de7907405080 Mon Sep 17 00:00:00 2001 From: Ruben Ortlam Date: Tue, 28 May 2024 15:31:30 +0200 Subject: [PATCH] [FIX] Set overtime_start_date in hr_attendance_contract_missing_days tests --- hr_attendance_missing_days/tests/test_attendance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hr_attendance_missing_days/tests/test_attendance.py b/hr_attendance_missing_days/tests/test_attendance.py index e57909f8..a2383159 100644 --- a/hr_attendance_missing_days/tests/test_attendance.py +++ b/hr_attendance_missing_days/tests/test_attendance.py @@ -22,6 +22,8 @@ class TestAttendance(TransactionCase): def setUpClass(cls): super().setUpClass() + cls.env.company.overtime_start_date = datetime(2020, 1, 1) + cls.employee = cls.env["hr.employee"].create( { "name": "Test Employee",