From 9f2cbf6bf9ec04a3d26829d00a661efc0233dba1 Mon Sep 17 00:00:00 2001
From: "PAP(OpenERP)" <>
Date: Fri, 26 Feb 2010 19:12:56 +0530
Subject: [PATCH] Added demo data in long term and wizard to assign sprint on
backlog
bzr revid: hda@tinyerp.com-20100226134256-p1ussmgt8llq566z
---
addons/project_long_term/__terp__.py | 3 +-
addons/project_long_term/project.py | 3 +-
addons/project_long_term/project_demo.xml | 1107 +++++++++++++----
addons/project_long_term/project_wizard.xml | 4 -
addons/scrum/scrum.py | 1 +
addons/scrum/scrum_wizard.xml | 3 +-
addons/scrum/wizard/__init__.py | 1 +
.../scrum/wizard/assign_backlog_to_sprint.py | 87 ++
8 files changed, 982 insertions(+), 227 deletions(-)
create mode 100644 addons/scrum/wizard/assign_backlog_to_sprint.py
diff --git a/addons/project_long_term/__terp__.py b/addons/project_long_term/__terp__.py
index 8eea3ce61c0..c03e52b2a05 100644
--- a/addons/project_long_term/__terp__.py
+++ b/addons/project_long_term/__terp__.py
@@ -30,8 +30,7 @@
"description": """Long Term Project management module that track planning, scheduling, resources allocation.
""",
"init_xml" : [],
- "demo_xml" : [#"project_demo.xml"
-],
+ "demo_xml" : ["project_demo.xml"],
"update_xml": [
"project_wizard.xml" ,
"project_view.xml",
diff --git a/addons/project_long_term/project.py b/addons/project_long_term/project.py
index df21511434f..1ddd15aa8f6 100644
--- a/addons/project_long_term/project.py
+++ b/addons/project_long_term/project.py
@@ -174,7 +174,8 @@ class project_phase(osv.osv):
if phase.responsible_id.id:
resource_id = resource_pool.search(cr,uid,[('user_id','=',phase.responsible_id.id)])
- calendar_id = resource_pool.browse(cr,uid,resource_id[0]).calendar_id.id
+ if resource_id:
+ calendar_id = resource_pool.browse(cr,uid,resource_id[0]).calendar_id.id
default_uom_id = uom_pool.search(cr,uid,[('name','=','Hour')])[0]
avg_hours = uom_pool._compute_qty(cr, uid, phase.product_uom.id, phase.duration,default_uom_id)
diff --git a/addons/project_long_term/project_demo.xml b/addons/project_long_term/project_demo.xml
index e762d3874ba..9f94152141f 100644
--- a/addons/project_long_term/project_demo.xml
+++ b/addons/project_long_term/project_demo.xml
@@ -1,252 +1,921 @@
-
+
-
-
-
-
-
-
-
- Analysis
-
-
- New Feature
-
-
- Quotation
-
-
- Bug
+
+
+
+
+
+ en_US
+ Demo User1
+
+ Mr Demo
+
+
+
+
+
+ demo1
+ demo1
+
-
- 1
- Open ERP Integration
-
+
+
+ en_US
+ Manager1
+
+
+
+
+
+
+ manager1
+ manager1
+
-
- 1
- 10
-
- Study + Prototype
-
-
-
-
- 20
-
- Specific Developements
-
-
-
-
- 30
-
- Install, data import, configuration
-
-
+
+
+
+ en_US
+ Manager2
+
+
+
+
+
+
+ manager2
+ manager2
+
-
- 38.0
- 38.0
-
+
+
+ en_US
+ user1
+
+
+
+
+
+
+ user1
+ USER1
+
+
+
+
+
+ en_US
+ user2
+
+
+
+
+
+
+ user2
+ user2
+
+
+
+
+
+ en_US
+ user_finance
+
+
+
+
+
+
+ user_finance
+ user_finance
+
+
+
+
+
+ en_US
+ user_design1
+
+
+
+
+
+
+ user_design1
+ user_design1
+
+
+
+
+
+ en_US
+ user_design2
+
+
+
+
+
+
+ user_design2
+ user_design2
+
+
+
+
+
+ en_US
+ user_developer1
+
+
+
+
+
+
+ user_developer1
+ user_developer1
+
+
+
+
+
+ en_US
+ user_developer2
+
+
+
+
+
+
+ user_developer2
+ user_developer1
+
+
+
+
+
+ en_US
+ user_tester1
+
+
+
+
+
+
+ user_tester1
+ user_tester1
+
+
+
+
+
+ en_US
+ user_tester2
+
+
+
+
+
+
+ user_tester2
+ user_tester2
+
+
+
+
+
+ en_US
+ user_analyst
+
+
+
+
+
+
+ user_analyst
+ user_analyst
+
+
+
+
+
+
-
- BoM, After sales returns, interventions. Tracability.
- Specific adaptation to MRP
+ Fabien Pinckaers
+
+
+
+ user
-
- 16.0
- 16.0
-
-
-
- Data importation + Doc
+
+
+
+
+ Analyst
+
+
+
+ user
-
- 16.0
- 16.0
-
-
-
- Modifications asked by the customer.
+
+
+
+
+ Programmer
+
+
+
+ user
-
- 16.0
- 16.0
-
-
- 0
-
- Customer analysis + Architecture
+
+
+
+
+ Tester
+
+
+
+ user
-
- 15
- 8.0
- 8.0
-
-
-
- Internal testing + Software Install
- 2008-06-06
+
+
+
+
+ Web Designer
+
+
+
+ user
-
- 17
- 16.0
- 16.0
-
-
+
+
+
+
+
+
+
+
+ 2010-02-25
+
+
+ open
+ normal
+ Develop an OpenERP Website.
+
+ 2010-04-30
+
+
+
+ OpenERP Website Development
+
+
+
+
+
+ Information Gathering and Understanding
+
+
+ 2010-03-11 15:37:00
+ 2010-02-25 15:33:00
+ draft
+
+
+
+ 2010-02-26 15:37:00
+ 2010-03-10 15:33:00
+
+
+
+
+ Planning
+
+
+ 2010-02-18 15:49:00
+ 2010-02-18 15:48:00
+ draft
+
+
+
+ 2010-02-12 15:49:00
+ 2010-03-11 15:48:00
+
+
+
+
+ Web Design
+
+
+ 2010-04-10 16:08:00
+ 2010-04-01 16:02:00
+ draft
+
+
+
+ 2010-04-01 16:08:00
+ 2010-04-10 16:02:00
+
+
+
+
+ Development, Integration and Testing
+
+
+ 2010-04-27 17:29:00
+ 2010-04-12 16:10:00
+ draft
+
+
+
+ 2010-04-14 16:11:00
+ 2010-04-26 16:10:00
+
+
+
+
+ Website Deployment
+
+
+ 2010-04-28 16:35:00
+ 2010-04-26 16:35:00
+ draft
+
+
+
+ 2010-04-27 16:35:00
+ 2010-04-27 16:34:00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2010-03-02 11:00:00
+
+
+ 2010-02-24 05:00:00
+
2
- open
-
- Analysis, Data Importation
+ draft
+
+
+
+
+
+ Prepare Requirements Document
+ 2010-03-08
+
+
+
-
- 20
- 16.0
- 16.0
- open
-
-
- Parameters
+
+
+
+
+
+ 2010-02-25 15:38:08
+
+ 2
+ draft
+
+
+
+
+
+ Define Website Goals, Purposes and Target Audience
+ 2010-03-04
+
+
+
-
- 20
- 32.0
- 32.0
-
- open
-
- Start of the doc redaction + MRP
+
+
+
+
+
+ 2010-02-25 15:42:42
+
+ 2
+ draft
+
+
+
+
+
+ Use Cases
+ 2010-03-10
+
+
+
-
- 25
- 24.0
- 24.0
-
-
- done
- MRP Tests
+
+
+
+
+
+ 2010-02-25 15:51:00
+
+ 2
+ draft
+
+
+
+
+
+ Budget Planning
+ 2010-03-31
+
+
+
-
- 29
- 24.0
- 24.0
-
-
- MRP; functionnal layer
- done
-
+
+
+
+
+
+ 2010-02-25 15:54:42
+
+ 2
+ draft
+
+
+
+
+
+ Quality Planning
+ 2010-03-31
+
+
+
-
- 30
- 24.0
- 24.0
-
-
- Products Adaptation
+
+
+
+
+
+ 2010-02-25 15:55:11
+
+ 2
+ draft
+
+
+
+
+
+ Risk Management Planning
+ 2010-03-31
+
+
+
-
- 30
- 24.0
- 24.0
-
-
- Install + Super User Training
+
+
+
+
+
+ 2010-02-25 15:57:48
+
+ 2
+ draft
+
+
+
+
+
+ Create Project Schedules
+ 2010-03-31
+
+
+
-
- 30
- 32.0
- 32.0
-
-
- Customer docs
+
+
+
+
+
+ 2010-02-25 16:04:16
+
+ 2
+ draft
+
+
+
+
+
+ Dataflow Design
+ 2010-04-02
+
+
+
-
- 30
- 24.0
- 24.0
-
-
- Development of the presentation layer
+
+
+
+
+
+ 2010-02-25 16:05:43
+
+ 2
+ draft
+
+
+
+
+
+ User Interface Design
+ 2010-04-10
+
+
+
-
- 40
- 32.0
- 32.0
-
-
- Free Time
+
+
+
+
+
+ 2010-02-25 16:06:52
+
+ 2
+ draft
+
+
+
+
+
+ Task Level WBS
+ 2010-04-07
+
+
+
-
- 40
- 50.0
- 50.0
-
-
- Specific tests
+
+
+
+
+
+ 2010-02-25 16:11:40
+
+ 2
+ draft
+
+
+
+
+
+ Modular Programming
+ 2010-04-22
+
+
-
- 40
- 24.0
- 24.0
-
-
- Sale module
+
+
+
+
+
+ 2010-02-25 16:13:10
+
+ 2
+ draft
+
+
+
+
+
+ Integrate Modules
+ 2010-04-24
+
+
-
- 40
- 32.0
- 32.0
-
-
- open
- In house training
- 2007-06-06
+
+
+
+
+
+ 2010-02-25 16:14:32
+
+ 2
+ draft
+
+
+
+
+
+ Unit Testing
+ 2010-04-24
+
+
-
- 50
- 24.0
- 24.0
-
-
- Validation + latest modifications.
+
+
+
+
+
+ 2010-02-25 16:15:38
+
+ 2
+ draft
+
+
+
+
+
+ Regression Test
+ 2010-04-24
+
+
-
- 50
- 24.0
- 24.0
-
-
- Adaptations buy module
+
+
+
+
+
+ 2010-02-25 16:17:04
+
+ 2
+ draft
+
+
+
+
+
+ Documentation
+ 2010-04-24
+
+
-
- 60
- 16.0
- 16.0
-
-
- Presentation of the software.
+
+
+
+
+
+ 2010-02-25 16:17:42
+
+ 2
+ draft
+
+
+
+
+
+ Performance Tuning
+ 2010-04-24
+
+
-
- 60
- 24.0
- 24.0
-
-
- Adaptations Stock module
+
+
+
+
+
+ 2010-02-25 16:21:15
+
+ 2
+ draft
+
+
+
+
+
+ Deploy Website
+ 2010-04-26
+
+
-
- 70
- 24.0
- 24.0
-
-
- Latest in house tests
+
+
+
+
+
+ 2010-02-25 16:22:09
+
+ 2
+ draft
+
+
+
+
+
+ Presentation
+ 2010-04-28
+
+
+
+
+
+
+
+
+ 2010-02-25 16:36:02
+
+ 2
+ draft
+
+
+
+
+
+ Deployment
+ 2010-04-28
+
+
+
+
+
+
+
+
+
+ 2010-02-25 16:36:43
+
+ 2
+ draft
+
+
+
+
+
+ Presentation
+ 2010-04-29
+
+
+
+
+
+
+
+
+
+ 2010-02-25 17:22:46
+
+ 2
+ draft
+
+
+
+
+
+ Modules Integration
+ 2010-04-24
+
+
+
+
+
+
+
+
+
+ 2010-02-25 17:34:32
+
+ 2
+ draft
+
+
+
+
+
+ Unit Testing
+ 2010-04-24
+
+
+
+
+
+
+
+
+
+ 2010-02-25 17:35:46
+
+ 2
+ draft
+
+
+
+
+
+ Modular Testing
+ 2010-04-24
+
+
+
+
+
+
+
+
+
+ 2010-02-25 17:36:27
+
+ 2
+ draft
+
+
+
+
+
+ Documentation
+ 2010-04-28
+
+
+
+
+
+
+
+
+
+ 2010-02-25 17:37:03
+
+ 2
+ draft
+
+
+
+
+
+ Performance Tuning
+ 2010-04-27
+
+
+
+
+
+
+
+ 2010-03-12 18:00:00
+
+
+ 2010-03-01 12:00:00
+
+ 2
+ draft
+
+
+
+
+
+ Modular Programming
+ 2010-04-22
+
+
+
-
+
\ No newline at end of file
diff --git a/addons/project_long_term/project_wizard.xml b/addons/project_long_term/project_wizard.xml
index c45bcca1b42..bcb94d0fd02 100644
--- a/addons/project_long_term/project_wizard.xml
+++ b/addons/project_long_term/project_wizard.xml
@@ -1,11 +1,7 @@
-
-