summaryrefslogtreecommitdiff
path: root/addons/project_long_term/test
diff options
context:
space:
mode:
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>2013-08-13 15:36:54 +0530
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>2013-08-13 15:36:54 +0530
commita43756743d5da2b9fbec26a50c30a5d54fd8c2ff (patch)
tree1125e693ced946c1bf3c2cbb2601a82401bd6e5e /addons/project_long_term/test
parente4efdf89b5dc9155639d3b33a785d75dd9323e05 (diff)
parente8164c9a927ec8339252712bae3bf0a5ca1760e3 (diff)
[MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20130813100654-smw3i7jeu3zwlwte
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"