From 091fefc763c6f42c6dad8a3efa307cd1fe64a967 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Mon, 3 Jun 2024 15:11:50 +0200 Subject: [PATCH] [ADD]project_timesheet_holidays_type --- project_timesheet_holidays_type/models/hr_holidays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_timesheet_holidays_type/models/hr_holidays.py b/project_timesheet_holidays_type/models/hr_holidays.py index c2068e5..3b03e08 100644 --- a/project_timesheet_holidays_type/models/hr_holidays.py +++ b/project_timesheet_holidays_type/models/hr_holidays.py @@ -8,5 +8,5 @@ class Holidays(models.Model): def _timesheet_prepare_line_values(self, index, work_hours_data, day_date, work_hours_count): res = super()._timesheet_prepare_line_values(index, work_hours_data, day_date, work_hours_count) - res['name'] = _("%s (%s/%s)",self.holiday_status_id.name, index + 1, len(work_hours_data)) + res['name'] = _("%s",self.holiday_status_id.name) return res