summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/wizard
diff options
context:
space:
mode:
authorBenjamin Stiens <bst@odoo.com>2018-02-21 16:53:37 +0100
committerYannick Tivisse <yti@odoo.com>2018-05-28 16:45:48 +0200
commit6383120f3b67ea16d5f0d6cc47ea7b4dbd11e1f4 (patch)
tree0059d5d14169ee0d598e44b456722acc447149d1 /addons/hr_holidays/wizard
parentc9735c75d61e6792ae32d64a35122dc4664f7cf4 (diff)
[IMP] all: Improve error messages
Many error messages are misleading or too "vague" This task aims to improve all error message. Task #47042 PR #23321
Diffstat (limited to 'addons/hr_holidays/wizard')
-rw-r--r--addons/hr_holidays/wizard/hr_holidays_summary_department.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department.py b/addons/hr_holidays/wizard/hr_holidays_summary_department.py
index 1d8cf868b46..d0e93e3c16c 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_department.py
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_department.py
@@ -24,7 +24,7 @@ class HolidaysSummaryDept(models.TransientModel):
self.ensure_one()
[data] = self.read()
if not data.get('depts'):
- raise UserError(_('You have to select at least one Department. And try again.'))
+ raise UserError(_('You have to select at least one department.'))
departments = self.env['hr.department'].browse(data['depts'])
datas = {
'ids': [],