diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-06-01 13:36:25 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-06-01 13:36:25 +0200 |
| commit | cd19f68eb9f145e9049949074e06196d540cf2c2 (patch) | |
| tree | 6c050ac836af1e3226ce7b71726db7e40b32a126 /addons/project/test/task_process.yml | |
| parent | c9ce120fcdda692dce255359654e9b393332197b (diff) | |
| parent | f9e6b60c9f48c48d7b0d2a9b67a3e2376e032fd2 (diff) | |
[MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120601113625-c9w0kmnw1dzvjswx
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")]) |
