[IMP] project: fix typo in constraint message

Task-2047389      Closes #36360
This commit is contained in:
MaxLarue
2019-09-18 12:05:19 +00:00
committed by Geoffroy Larue
parent e2e85cb93a
commit c22a2c729e
+1 -1
View File
@@ -645,7 +645,7 @@ class Task(models.Model):
for task in self:
if task.project_id:
if task.project_id.company_id != task.company_id:
raise ValidationError(_('Your task must beo in the same company as its project.'))
raise ValidationError(_('Your task must be in the same company as its project.'))
@api.returns('self', lambda value: value.id)
def copy(self, default=None):