'project_demo.xml',
],
'test':[
+ 'test/project_demo.yml',
'test/project_process.yml',
'test/task_process.yml',
- 'test/project_demo.yml',
],
'installable': True,
'active': False,
!python {model: project.project}: |
self.schedule_tasks(cr, uid, [ref("project_integrate_openerp")], context=context)
-
- I set copy the tasks of project.
+ I copy the tasks of project.
-
!python {model: project.project}: |
self.template_copy(cr, uid, ref("project_integrate_openerp"))
!record {model: project.task.reevaluate, id: reevaluate_id}:
remaining_hours : 120
-
- I chnge the stage of task to previous stage
+ I change the stage of task to next stage.
-
!python {model: project.task}: |
- self.prev_type(cr, uid, [ref("project_task_1")])
+ self.next_type(cr, uid, [ref("project_task_1")])
-
I reevaluate task with remaining hours.
-
!assert {model: project.task, id: project_task_1, severity: error, string: task should be reevaluated}:
- remaining_hours == 120.0
-
- I chnge the stage of task to next stage
+ I change the stage of task to previous stage.
-
!python {model: project.task}: |
- self.next_type(cr, uid, [ref("project_task_1")])
+ self.prev_type(cr, uid, [ref("project_task_1")])
-
I close the task.
-