summaryrefslogtreecommitdiff
path: root/addons/project_timesheet_holidays/models/hr_holidays.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/project_timesheet_holidays/models/hr_holidays.py')
-rw-r--r--addons/project_timesheet_holidays/models/hr_holidays.py4
1 files changed, 2 insertions, 2 deletions
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):