diff --git a/addons/hr_timesheet/models/project.py b/addons/hr_timesheet/models/project.py index 9a554313cca..3e7a5fc3668 100644 --- a/addons/hr_timesheet/models/project.py +++ b/addons/hr_timesheet/models/project.py @@ -144,7 +144,7 @@ class Task(models.Model): def write(self, values): # a timesheet must have an analytic account (and a project) if 'project_id' in values and self and not values.get('project_id'): - raise UserError(_('This task must be part of a project because they some timesheets are linked to it.')) + raise UserError(_('This task must be part of a project because there are some timesheets linked to it.')) return super(Task, self).write(values) @api.model diff --git a/addons/hr_timesheet/views/res_config_settings_views.xml b/addons/hr_timesheet/views/res_config_settings_views.xml index 6588b0b2d14..ef7e4f9a401 100644 --- a/addons/hr_timesheet/views/res_config_settings_views.xml +++ b/addons/hr_timesheet/views/res_config_settings_views.xml @@ -30,12 +30,12 @@