[ADD]project_timesheet_holidays_type #3

Merged
LaetitiaElabore merged 2 commits from 16.0-project_timesheet_holidays_type into 16.0 2024-06-27 07:19:00 +00:00
Showing only changes of commit f5377a3af3 - Show all commits

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