diff --git a/addons/project_timesheet_holidays/models/hr_holidays.py b/addons/project_timesheet_holidays/models/hr_holidays.py index 4abb2e866b5..d7128f4234f 100644 --- a/addons/project_timesheet_holidays/models/hr_holidays.py +++ b/addons/project_timesheet_holidays/models/hr_holidays.py @@ -48,8 +48,8 @@ class HolidaysType(models.Model): if holiday_status.timesheet_generate: if not holiday_status.timesheet_project_id or not holiday_status.timesheet_task_id: raise ValidationError(_("Both the internal project and task are required to " - "generate a timesheet for the time off. If you don't want a timesheet, you should " - "leave the internal project and task empty.")) + "generate a timesheet for the time off %s. If you don't want a timesheet, you should " + "leave the internal project and task empty.") % (holiday_status.name)) class Holidays(models.Model):