[IMP] project_long_term: view of compute tasks and phases

bzr revid: hmo@tinyerp.com-20100827131918-31jcwe7m10db647v
This commit is contained in:
Harry (OpenERP) 2010-08-27 18:49:18 +05:30
parent b6c39d806a
commit 011572249d
4 changed files with 27 additions and 31 deletions

View File

@ -27,14 +27,14 @@
"category": "Generic Modules/Projects & Services",
"depends": ["resource", "project"],
"description": """
Long Term Project management module that tracks planning, scheduling, resources allocation.
Mainly used with Big project management.
- Project Phases will be maintained by Manager of the project
- Compute Phase Scheduling: Compute start date and end date of the phases which are in draft,open and pending state of the project given.
If no project given then all the draft,open and pending state phases will be taken
- Compute Task Scheduling: This works same as the scheduler button on project.phase. It takes the project as argument and computes all the open,draft and pending tasks
- Schedule Tasks: All the tasks which are in draft,pending and open state are scheduled with taking the phase's start date
Long Term Project management module that tracks planning, scheduling, resources allocation.
Features.
- Manage Big project.
- Define various Phases of Project.
- Compute Phase Scheduling: Compute start date and end date of the phases which are in draft,open and pending state of the project given.
If no project given then all the draft,open and pending state phases will be taken
- Compute Task Scheduling: This works same as the scheduler button on project.phase. It takes the project as argument and computes all the open,draft and pending tasks
- Schedule Tasks: All the tasks which are in draft,pending and open state are scheduled with taking the phase's start date
""",
"init_xml": [],

View File

@ -8,21 +8,16 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Compute Scheduling of Phases">
<group width="410" height="180">
<group colspan="4" col="4">
<separator colspan="4" string="This wizard will schedule phases for all or specified project" />
<newline />
<field name="target_project" colspan="4"/>
</group>
<newline />
<group colspan="4" col="6" attrs="{'invisible':[('target_project','=','all')]}">
<label string="Project:" align="1.0"/>
<field name="project_id" nolabel="1" colspan="2" widget="selection" />
</group>
<group colspan="4" col="4">
<separator colspan="4" string="Compute Scheduling of phases for all or specified project" />
<field name="target_project" colspan="4"/>
<field name="project_id" widget="selection" colspan="4" attrs="{'invisible':[('target_project','=','all')], 'required':[('target_project','!=','all')]}"/>
<separator colspan="4"/>
<group colspan="4" col="6"> <!-- Improve me -->
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-ok" name="check_selection" string="_Compute" type="object"/>
<group colspan="2" col="2">
</group>
<group colspan="2" col="2"> <!-- Improve me -->
<button icon="gtk-close" special="cancel" string="_Close"/>
<button icon="gtk-ok" name="check_selection" string="C_ompute" type="object"/>
</group>
</group>
</form>

View File

@ -8,12 +8,15 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Compute Scheduling of Task">
<group colspan="4" height="120" width="500">
<separator colspan="4" string="This wizard will schedule Task for all or specified project" />
<field name="project_id" widget="selection"/>
<group colspan="4" col="6">
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-ok" name="compute_date" string="Compute" type="object"/>
<group colspan="4">
<separator colspan="4" string="Compute Scheduling of Task for specified project." />
<field name="project_id" widget="selection" colspan="4"/>
<separator colspan="4"/>
<group colspan="2" col="2">
</group>
<group colspan="2" col="2">
<button icon="gtk-close" special="cancel" string="_Close"/>
<button icon="gtk-ok" name="compute_date" string="C_ompute" type="object"/>
</group>
</group>
</form>

View File

@ -55,9 +55,7 @@ class project_with_message(osv.osv):
_inherit = 'project.project'
_columns = {
'message_ids':fields.one2many(
'project.messages', 'project_id', 'Messages',
),
'message_ids':fields.one2many('project.messages', 'project_id', 'Messages'),
}
project_with_message()