summaryrefslogtreecommitdiff
path: root/addons/project_long_term/test
diff options
context:
space:
mode:
authorsgo@tinyerp.com <>2013-07-22 12:23:54 +0530
committersgo@tinyerp.com <>2013-07-22 12:23:54 +0530
commitabe41de93b7d9e37fa7d51a6ac9e2fcc976bfa4f (patch)
treec7f2f7e5c7554082356a30c45a280e57afe78eac /addons/project_long_term/test
parent7ad238f4432f9a5039aa49b5aa3ddfc071fd525b (diff)
parent1d82442202c9a632ef67b10e12d75c2ed9861a00 (diff)
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130722065354-kgqykn6vle0fgxe0
Diffstat (limited to 'addons/project_long_term/test')
-rw-r--r--addons/project_long_term/test/task_process.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_long_term/test/task_process.yml b/addons/project_long_term/test/task_process.yml
index a7065de315f..060abcf43f3 100644
--- a/addons/project_long_term/test/task_process.yml
+++ b/addons/project_long_term/test/task_process.yml
@@ -14,6 +14,6 @@
!python {model: project.project}: |
prj = self.browse(cr, uid, [ref("project.project_project_1")])[0]
for task in prj.tasks:
- if task.state in ('done','cancelled'):
+ if task.stage_id and task.stage_id.fold:
continue
assert task.user_id and task.date_start and task.date_end, "Project tasks not scheduled"