summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxLarue <mla@odoo.com>2019-09-03 11:31:53 +0000
committerGeoffroy Larue <gla@odoo.com>2019-09-18 12:05:19 +0000
commitc22a2c729ec3ac71f5b6cd22aee0a266b11ab737 (patch)
tree755dcd2bf9f4ceee27a79f7ddd1c723dad16bc7b
parente2e85cb93a261b3f6bb9ef1f49197ca67fe7f48b (diff)
[IMP] project: fix typo in constraint message
Task-2047389 Closes #36360
-rw-r--r--addons/project/models/project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/models/project.py b/addons/project/models/project.py
index bb31a609fd3..9629d9c7d5a 100644
--- a/addons/project/models/project.py
+++ b/addons/project/models/project.py
@@ -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):