From 8d5aae51f64114cc24cb3bf0b13e62a750ac9455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 31 May 2012 17:15:56 +0200 Subject: [CLEAN] project, project_issue: removed next_type and prev_type, now using stage_previous and stage_next; cleaned views accordingly. bzr revid: tde@openerp.com-20120531151556-duyy6ryyw6fiup3o --- addons/project/test/task_process.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/project/test/task_process.yml') 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")]) -- cgit v1.2.3