diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-06-08 19:00:05 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-06-08 19:00:05 +0200 |
| commit | 93590e6a2b2221c9c8b72bbbfe5ca83bc7c0dc4b (patch) | |
| tree | f13d8877a684510c1c0fe5c6686c1bbbdd1f2a14 /addons/project/test/task_process.yml | |
| parent | d74734ddee499577351618bc6250304c63095a3e (diff) | |
| parent | 787df16f84426411c7844c40f942400dfd7741bf (diff) | |
[MERGE] trunk
bzr revid: al@openerp.com-20120608170005-exk83se779u3py4x
Diffstat (limited to 'addons/project/test/task_process.yml')
| -rw-r--r-- | addons/project/test/task_process.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/project/test/task_process.yml b/addons/project/test/task_process.yml index c4d17f783f6..ad4bbe53bb3 100644 --- a/addons/project/test/task_process.yml +++ b/addons/project/test/task_process.yml @@ -40,7 +40,7 @@ I change the stage of task to next stage. - !python {model: project.task}: | - self.next_type(cr, uid, [ref("project_task_1")]) + self.stage_next(cr, uid, [ref("project_task_1")]) - !record {model: project.task.reevaluate, id: reevaluate_id}: remaining_hours : 120 @@ -68,9 +68,9 @@ I change the stage of task to previous stage. - !python {model: project.task}: | - self.prev_type(cr, uid, [ref("project_task_1")]) + self.stage_previous(cr, uid, [ref("project_task_1")]) - I cancel Task. - !python {model: project.task}: | - self.do_cancel(cr, uid, [ref("project_task_2")])
\ No newline at end of file + self.do_cancel(cr, uid, [ref("project_task_2")]) |
