summaryrefslogtreecommitdiff
path: root/addons/project_long_term/test/task_process.yml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2014-04-25 01:52:54 +0200
committerAntony Lesuisse <al@openerp.com>2014-04-25 01:52:54 +0200
commit95a9bccb380a0eed8f7904dab61e99721457c4b6 (patch)
tree007158a0b62e0562d3c00a12d07ddeb1032852ea /addons/project_long_term/test/task_process.yml
parentdfa56e6b5466c82d66f7977cc0b9e477d9edb97e (diff)
[REM] move project_long_term to extra
bzr revid: al@openerp.com-20140424235254-u2um2dsth6igvb7r
Diffstat (limited to 'addons/project_long_term/test/task_process.yml')
-rw-r--r--addons/project_long_term/test/task_process.yml19
1 files changed, 0 insertions, 19 deletions
diff --git a/addons/project_long_term/test/task_process.yml b/addons/project_long_term/test/task_process.yml
deleted file mode 100644
index 060abcf43f3..00000000000
--- a/addons/project_long_term/test/task_process.yml
+++ /dev/null
@@ -1,19 +0,0 @@
--
- I create a record to compute the tasks of project.
--
- !record {model: project.compute.tasks, id: project_compute_tasks0}:
- project_id: project.project_project_1
--
- I compute and shedule the tasks.
--
- !python {model: project.compute.tasks}: |
- self.compute_date(cr, uid, [ref("project_compute_tasks0")])
--
- Check if tasks scheduled, check that either of task's start_date, end_date and user_id is not null
--
- !python {model: project.project}: |
- prj = self.browse(cr, uid, [ref("project.project_project_1")])[0]
- for task in prj.tasks:
- 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"