Added demo data in long term and wizard to assign sprint on backlog

bzr revid: hda@tinyerp.com-20100226134256-p1ussmgt8llq566z
This commit is contained in:
PAP(OpenERP)
2010-02-26 19:12:56 +05:30
committed by HDA (OpenERP)
parent 3f969c76a6
commit 9f2cbf6bf9
8 changed files with 982 additions and 227 deletions
+1 -2
View File
@@ -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",
+2 -1
View File
@@ -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)
File diff suppressed because it is too large Load Diff
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- <wizard id="wizard_close_task" menu="False" model="project.task" name="project.task.close" string="Close Task"/>
<wizard id="wizard_delegate_task" menu="False" model="project.task" name="project.task.delegate" string="Delegate Task"/>
<wizard id="wizard_attachment_task" model="project.task" name="project.task.attachment" string="All Attachments"/> -->
<wizard id="wizard_compute_phase" menu="False" model="project.phase" name="wizard.compute.phases" string="Compute Phase Scheduling"/>
<!--<menuitem icon="terp-project" id="menu_main" name="Project Management"/>-->
<wizard id="wizard_schedule_task" menu="False" model="project.phase" name="phase.schedule.tasks" string="Schedule Tasks"/>
<menuitem id="base.menu_pm_planning" name="Planning" parent="base.menu_main" sequence="3"/>
<menuitem