From 079dceda032e5271394924ee432e3b56f3a0846c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 27 Jun 2013 14:53:06 +0200 Subject: [FIX] project_mrp: added close field on task.type; commented some tests to clean afterwards. bzr revid: tde@openerp.com-20130627125306-mgai12779onkgyc2 --- addons/project_long_term/test/task_process.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/project_long_term/test/task_process.yml') 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" -- cgit v1.2.3