diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-06-01 12:14:26 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-06-01 12:14:26 +0200 |
| commit | f9e6b60c9f48c48d7b0d2a9b67a3e2376e032fd2 (patch) | |
| tree | c602d1e223affb7b04a8c2cc0189fb4405441854 /addons/project/test/task_process.yml | |
| parent | b98e0bdf14d4537f338fcee4fe2f14bdf76ac9ce (diff) | |
| parent | d988ca61568707ee4c9dca9288ff269dca9c77a6 (diff) | |
[MERGE] Merged branch holding state/stage cleaning for lead/opportunities, hr_recruitment, project_issue, tasks, crm_claim. Those models now use stage as the main status flow; the state is a related field to the stage, and is not important anymore. Updated views accordingly (buttons, statusbar on stage_id). Also updated view of crm_meeting, crm_helpdesk and crm_phonecall. Old crm_base and crm_case are nos distinct from crm, and are in a new addon called 'base_status'. This module defines most of the methods related to the logic; models inheriting from base_state or base_stage have few methods to override to implement a particular behavior (mainly stage_find for base_stage).
bzr revid: tde@openerp.com-20120601101426-28e6gnsywhkxeber
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")]) |
