[ADD]project_timesheet_holidays_type

This commit is contained in:
2024-06-03 15:11:50 +02:00
parent b406aeb2f1
commit f5377a3af3

View File

@@ -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