summaryrefslogtreecommitdiff
path: root/addons/project_long_term/test
diff options
context:
space:
mode:
authorpso <pso@tinyerp.com>2011-01-05 18:20:35 +0530
committerpso <pso@tinyerp.com>2011-01-05 18:20:35 +0530
commit5524f49c6f9794f794a94c19b62afeb37d12fcd0 (patch)
tree090508c902d524d69cfd43e2dbbf45433d7f03a0 /addons/project_long_term/test
parent957771e7ff9a689ec84c6b7d3a81257425c3118a (diff)
[IMP] Improved yml, demo file to remove static date time by using time library
bzr revid: pso@tinyerp.com-20110105125035-s7rknril8gwhm8i7
Diffstat (limited to 'addons/project_long_term/test')
-rwxr-xr-xaddons/project_long_term/test/schedule_phase_tasks.yml2
-rwxr-xr-xaddons/project_long_term/test/schedule_project_phases.yml12
-rwxr-xr-xaddons/project_long_term/test/schedule_project_tasks.yml2
3 files changed, 8 insertions, 8 deletions
diff --git a/addons/project_long_term/test/schedule_phase_tasks.yml b/addons/project_long_term/test/schedule_phase_tasks.yml
index aa54fa1ac57..ddfdc47cc7c 100755
--- a/addons/project_long_term/test/schedule_phase_tasks.yml
+++ b/addons/project_long_term/test/schedule_phase_tasks.yml
@@ -15,7 +15,7 @@
Create phase 'Develop GUI' in Outlook
-
!record {model: project.phase, id: project_phase_phase0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime("%Y-%m-%d")
duration: 200.0
name: Develop GUI in Outlook
product_uom: product.uom_day
diff --git a/addons/project_long_term/test/schedule_project_phases.yml b/addons/project_long_term/test/schedule_project_phases.yml
index e06feaaa4ca..38260f4df8c 100755
--- a/addons/project_long_term/test/schedule_project_phases.yml
+++ b/addons/project_long_term/test/schedule_project_phases.yml
@@ -9,7 +9,7 @@
Create a project phase 'Defining Client's Basic Idea of Project'
-
!record {model: project.phase, id: project_phase_definingclientsbasicideaofproject0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 15.0
name: "Defining Client's Basic Idea of Project"
product_uom: product.uom_day
@@ -20,7 +20,7 @@
Create project phase 'Establishing Project Feasibility'
-
!record {model: project.phase, id: project_phase_establishingprojectfeasibility0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 30.0
name: Establishing Project Feasibility
product_uom: product.uom_day
@@ -30,7 +30,7 @@
Create project phase 'Preparation of Engineering Designs'
-
!record {model: project.phase, id: project_phase_preparationofengineeringdesigns0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 100.0
name: Preparation of Engineering Designs
product_uom: product.uom_hour
@@ -41,7 +41,7 @@
Create project phase 'Procurement of Works and Goods'
-
!record {model: project.phase, id: project_phase_procurementofworksandgoods0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 24.0
name: Procurement of Works and Goods
product_uom: product.uom_hour
@@ -52,7 +52,7 @@
Create project phase 'Project Construction'
-
!record {model: project.phase, id: project_phase_projectconstruction0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 4320.0
name: Project Construction
product_uom: product.uom_hour
@@ -63,7 +63,7 @@
Create project phase 'Project Completion'
-
!record {model: project.phase, id: project_phase_projectcompletion0}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 240.0
name: Project Completion
product_uom: product.uom_hour
diff --git a/addons/project_long_term/test/schedule_project_tasks.yml b/addons/project_long_term/test/schedule_project_tasks.yml
index 04a05437487..825b7c404d9 100755
--- a/addons/project_long_term/test/schedule_project_tasks.yml
+++ b/addons/project_long_term/test/schedule_project_tasks.yml
@@ -16,7 +16,7 @@
Create phase 'Develop GUI' in thunderbird
-
!record {model: project.phase, id: project_phase_phase1}:
- date_start: '2010-06-02'
+ date_start: !eval time.strftime('%Y-%m-%d')
duration: 200.0
name: Develop GUI in thunderbird
product_uom: product.uom_day