2010-01-12 12:45:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record id="view_project_resource_allocation_form" model="ir.ui.view">
|
|
|
|
<field name="name">project.resource.allocation.form</field>
|
|
|
|
<field name="model">project.resource.allocation</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Project Resource Allocation">
|
|
|
|
<field name="resource_id" select="1"/>
|
|
|
|
<field name="phase_id"/>
|
|
|
|
<field name="useability"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="view_project_resource_allocation_list" model="ir.ui.view">
|
|
|
|
<field name="name">project.resource.allocation.list</field>
|
|
|
|
<field name="model">project.resource.allocation</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="priority" eval="5"/>
|
|
|
|
<field name="arch" type="xml">
|
2010-02-25 06:01:27 +00:00
|
|
|
<tree editable="bottom" string="Project Resource Allocation">
|
2010-01-12 12:45:02 +00:00
|
|
|
<field name="resource_id"/>
|
|
|
|
<field name="useability"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="view_project_phase_form" model="ir.ui.view">
|
|
|
|
<field name="name">project.phase.form</field>
|
|
|
|
<field name="model">project.phase</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Project Phase">
|
|
|
|
<group colspan="6" col="6">
|
|
|
|
<field name="name" select="1"/>
|
2010-02-25 06:01:27 +00:00
|
|
|
<field name="project_id" on_change="onchange_project(project_id)"/>
|
|
|
|
<field name="responsible_id"/>
|
2010-01-12 12:45:02 +00:00
|
|
|
<field name="date_start"/>
|
|
|
|
<field name="date_end"/>
|
|
|
|
<field name="duration"/>
|
|
|
|
<field name="product_uom"/>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
2010-02-25 06:01:27 +00:00
|
|
|
<page string="Resource Allocation Detail">
|
2010-01-12 12:45:02 +00:00
|
|
|
<separator colspan="4" string="Resource Allocation"/>
|
2010-02-25 06:01:27 +00:00
|
|
|
<field colspan="4" name="resource_ids" nolabel="1">
|
|
|
|
<tree editable="bottom" string="Project Resource Allocation">
|
|
|
|
<field name="resource_id" context="{'project_id':parent.project_id}"/>
|
|
|
|
<field name="useability"/>
|
|
|
|
</tree>
|
|
|
|
<form string="Project Resource Allocation">
|
|
|
|
<field name="resource_id" context="{'project_id':parent.project_id}"/>
|
|
|
|
<field name="useability"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group col="12" colspan="4">
|
|
|
|
<field name="state" select="1"/>
|
|
|
|
<button string="Draft" name="phase_draft" states="open"/>
|
|
|
|
<button string="Start Phase" name="phase_start" states="pending,draft"/>
|
|
|
|
<button string="Cancel" name="phase_cancel" states="draft,open,pending"/>
|
|
|
|
<button string="Done" name="phase_done" states="draft,pending,open"/>
|
|
|
|
<button string="Pending" name="phase_pending" states="open"/>
|
|
|
|
</group>
|
2010-01-12 12:45:02 +00:00
|
|
|
</page>
|
|
|
|
<page string="Other Info">
|
2010-02-25 06:01:27 +00:00
|
|
|
<group colspan="2" col="2">
|
|
|
|
<separator string="Constraints" colspan="2"/>
|
|
|
|
<field name="constraint_date_start"/>
|
|
|
|
<field name="constraint_date_end"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<separator string="Scheduling" colspan="2"/>
|
|
|
|
<field name="sequence"/>
|
|
|
|
</group>
|
2010-01-12 12:45:02 +00:00
|
|
|
<separator colspan="4" string="Next Phases"/>
|
|
|
|
<field colspan="4" name="next_phase_ids" nolabel="1"/>
|
|
|
|
<separator colspan="4" string="Previous Phases"/>
|
|
|
|
<field colspan="4" name="previous_phase_ids" nolabel="1"/>
|
|
|
|
</page>
|
2010-02-25 06:01:27 +00:00
|
|
|
<page string="Task Detail">
|
|
|
|
<separator colspan="4" string="Project's Tasks"/>
|
|
|
|
<field colspan="4" name="task_ids" nolabel="1"/>
|
2010-02-26 11:18:14 +00:00
|
|
|
|
2010-02-25 06:01:27 +00:00
|
|
|
<button name="%(wizard_schedule_task)d" string="Schedule Tasks" type="action" icon="gtk-jump-to"/>
|
|
|
|
</page>
|
2010-01-12 12:45:02 +00:00
|
|
|
</notebook>
|
|
|
|
<newline/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="view_project_phase_list" model="ir.ui.view">
|
|
|
|
<field name="name">project.phase.list</field>
|
|
|
|
<field name="model">project.phase</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="priority" eval="5"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Project Phases">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="project_id"/>
|
|
|
|
<field name="date_start"/>
|
|
|
|
<field name="date_end"/>
|
|
|
|
<field name="duration"/>
|
|
|
|
<field name="product_uom"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record id="act_project_phase" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project phases</field>
|
|
|
|
<field name="res_model">project.phase</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<act_window
|
|
|
|
id="project_phase_task_list"
|
|
|
|
name="Related Tasks"
|
|
|
|
res_model="project.task"
|
|
|
|
src_model="project.phase"
|
|
|
|
view_mode="tree,form"
|
2010-02-25 06:01:27 +00:00
|
|
|
domain="[('phase_id','=',active_id)]"/>
|
2010-01-20 13:00:15 +00:00
|
|
|
|
|
|
|
<menuitem action="act_project_phase" id="menu_project_phase" parent="project.menu_project_management" sequence="4"/>
|
2010-01-12 12:45:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|