summaryrefslogtreecommitdiff
path: root/addons/project_long_term
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-06-27 14:53:06 +0200
committerThibault Delavallée <tde@openerp.com>2013-06-27 14:53:06 +0200
commit079dceda032e5271394924ee432e3b56f3a0846c (patch)
tree17e9290f3866455ee6ba820a8fb9ede6fe27b8d8 /addons/project_long_term
parentd39855e1dc62b8a846c094212c03c5f055af0704 (diff)
[FIX] project_mrp: added close field on task.type; commented some tests to clean afterwards.
bzr revid: tde@openerp.com-20130627125306-mgai12779onkgyc2
Diffstat (limited to 'addons/project_long_term')
-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"