diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2012-08-23 14:44:48 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2012-08-23 14:44:48 +0530 |
| commit | 2bebc58b90c0d8e31c7b52fd2157220b89b341b8 (patch) | |
| tree | bd1a5eb12d1de90b0c6703fdac1c2305cb40a0fa /addons/project_long_term/test | |
| parent | da13d90912fb12bd8f82a12300325f6f57dfee17 (diff) | |
| parent | c4b2e9fad2ce2bd2c59aae3d96eb467177b3c7ca (diff) | |
[MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20120823091448-ouxbelky1i1n2273
Diffstat (limited to 'addons/project_long_term/test')
| -rw-r--r-- | addons/project_long_term/test/phase_process.yml | 4 | ||||
| -rw-r--r-- | addons/project_long_term/test/task_process.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/project_long_term/test/phase_process.yml b/addons/project_long_term/test/phase_process.yml index 725c5b2a97d..8738834b103 100644 --- a/addons/project_long_term/test/phase_process.yml +++ b/addons/project_long_term/test/phase_process.yml @@ -5,7 +5,7 @@ - !record {model: project.compute.phases, id: project_compute_phases01}: target_project: 'one' - project_id: project.project_integrate_openerp + project_id: project.project_project_1 - I schedule the phases. - @@ -15,7 +15,7 @@ I check the starting date and ending date on the phases after scheduling. - !python {model: project.project}: | - project = self.browse(cr, uid, ref("project.project_integrate_openerp"), context=context) + project = self.browse(cr, uid, ref("project.project_project_1"), context=context) def _convert(date): import time return time.strptime(date, '%Y-%m-%d %H:%M:%S') diff --git a/addons/project_long_term/test/task_process.yml b/addons/project_long_term/test/task_process.yml index 64ecef73476..a7065de315f 100644 --- a/addons/project_long_term/test/task_process.yml +++ b/addons/project_long_term/test/task_process.yml @@ -2,7 +2,7 @@ I create a record to compute the tasks of project. - !record {model: project.compute.tasks, id: project_compute_tasks0}: - project_id: project.project_integrate_openerp + project_id: project.project_project_1 - I compute and shedule the tasks. - @@ -12,7 +12,7 @@ Check if tasks scheduled, check that either of task's start_date, end_date and user_id is not null - !python {model: project.project}: | - prj = self.browse(cr, uid, [ref("project.project_integrate_openerp")])[0] + prj = self.browse(cr, uid, [ref("project.project_project_1")])[0] for task in prj.tasks: if task.state in ('done','cancelled'): continue |
