summaryrefslogtreecommitdiff
path: root/addons/project/tests/test_project_flow.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-10-29 15:51:43 +0000
committerMartin Trigaux <mat@odoo.com>2020-10-29 18:07:49 +0000
commit62a18bdb372e234107fd2099a2df5f9e3a442c96 (patch)
tree2ba5e12c2f347e6de12407a804f1439edd90ed97 /addons/project/tests/test_project_flow.py
parent8b67d263ab04bbb2e6ccd6c4095029eadcc36138 (diff)
[FIX] *: correct typos and bad English
Courtesy of translators Reexport .pot of modified modules closes odoo/odoo#61002 Related: odoo/enterprise#14485 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/project/tests/test_project_flow.py')
-rw-r--r--addons/project/tests/test_project_flow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/project/tests/test_project_flow.py b/addons/project/tests/test_project_flow.py
index 8712afdca3f..b5d5e277054 100644
--- a/addons/project/tests/test_project_flow.py
+++ b/addons/project/tests/test_project_flow.py
@@ -151,11 +151,11 @@ class TestProjectFlow(TestProjectCommon):
self.assertEqual(
child_task_1.partner_id, child_task_1.parent_id.partner_id,
- "When no project partner_id has been set, a subtask should have the same partner than its parent")
+ "When no project partner_id has been set, a subtask should have the same partner as its parent")
self.assertEqual(
child_task_2.partner_id, child_task_2.project_id.partner_id,
- "When a project partner_id has been set, a subtask should have the same partner than its project")
+ "When a project partner_id has been set, a subtask should have the same partner as its project")
self.assertEqual(
parent_task.subtask_count, 2,
@@ -190,7 +190,7 @@ class TestProjectFlow(TestProjectCommon):
self.assertEqual(
child_task_1.partner_id, self.project_pigs.partner_id,
- "When the project changes, the subtask should have the same partner id than the new project.")
+ "When the project changes, the subtask should have the same partner id as the new project.")
# restore the partner_id of the 'goats' project
self.project_goats.write({
@@ -204,7 +204,7 @@ class TestProjectFlow(TestProjectCommon):
self.assertEqual(
child_task_2.partner_id, self.project_goats.partner_id,
- "When the project changes, the subtask should have the same partner id than the new project.")
+ "When the project changes, the subtask should have the same partner id as the new project.")
def test_rating(self):
"""Check if rating works correctly even when task is changed from project A to project B"""