From 0c2f518c5816804e01d22ddc40d8e7bfaedbf1bd Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Wed, 29 Dec 2021 08:09:30 +0000 Subject: [PATCH] [FIX] hr_holidays: fix end of year error Fixes an error happening near the end of the year with one of the test. The error was introduced with 254d6a71e8d5e7bdf8b302d774e024646921b72d TaskId-2724172 closes odoo/odoo#82028 X-original-commit: 1de3a4bee7b1df4960694d0851e72ef2eecb98a9 Signed-off-by: William Braeckman (wbr) --- addons/hr_holidays/tests/test_holidays_flow.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/hr_holidays/tests/test_holidays_flow.py b/addons/hr_holidays/tests/test_holidays_flow.py index 987ef2084c7..6fd7ab49483 100644 --- a/addons/hr_holidays/tests/test_holidays_flow.py +++ b/addons/hr_holidays/tests/test_holidays_flow.py @@ -99,7 +99,6 @@ class TestHolidaysFlow(TestHrHolidaysCommon): 'employee_id': self.employee_emp_id, 'state': 'validate', 'date_from': time.strftime('%Y-%m-01'), - 'date_to': time.strftime('%Y-12-31'), }, { 'name': 'Paid Time off for David', 'holiday_status_id': holiday_status_paid_time_off.id, @@ -107,7 +106,6 @@ class TestHolidaysFlow(TestHrHolidaysCommon): 'employee_id': self.ref('hr.employee_admin'), 'state': 'validate', 'date_from': time.strftime('%Y-%m-01'), - 'date_to': time.strftime('%Y-12-31'), } ]) @@ -145,7 +143,6 @@ class TestHolidaysFlow(TestHrHolidaysCommon): 'number_of_days': 2, 'state': 'confirm', 'date_from': time.strftime('%Y-%m-01'), - 'date_to': time.strftime('%Y-12-31'), }) # HrUser validates the first step