[IMP]project_retro_plannig : Improve the test cases
bzr revid: dbr@tinyerp.com-20110826114205-7hhhg3w4dmfhhiqv
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
company_id: base.main_company
|
||||
date: !eval time.strftime('%Y-%m-%d')
|
||||
name: Retro Planning
|
||||
|
||||
-
|
||||
Create task 'Plan all projects'
|
||||
-
|
||||
@@ -18,3 +17,14 @@
|
||||
project_id: project_project_retroplanning0
|
||||
remaining_hours: 24.0
|
||||
state: draft
|
||||
-
|
||||
Execute this project for reteo planning.
|
||||
-
|
||||
!python {model: project.project}: |
|
||||
import time
|
||||
vals = {
|
||||
'company_id': ref('base.main_company'),
|
||||
'date': time.strftime("%Y-%m-%d"),
|
||||
'name': 'Retro Planning',
|
||||
}
|
||||
self.write(cr, uid, [ref('project_project_retroplanning0')], vals)
|
||||
|
||||
Reference in New Issue
Block a user