diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2010-09-30 20:11:19 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-09-30 20:11:19 +0530 |
| commit | 0994368ae173e6569ae31b09dda90ab78fa765bb (patch) | |
| tree | fcd67ee51870ec382bdce8c213e493b3b9f93d34 /addons/project_long_term/project_long_term_view.xml | |
| parent | 99245023a21f328f6514a6616a90b96211aafaff (diff) | |
[IMP] project
bzr revid: hmo@tinyerp.com-20100930144119-rqcos1j0xumt4h6t
Diffstat (limited to 'addons/project_long_term/project_long_term_view.xml')
| -rw-r--r-- | addons/project_long_term/project_long_term_view.xml | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/addons/project_long_term/project_long_term_view.xml b/addons/project_long_term/project_long_term_view.xml index 5a70e5acb5e..3412ba7ca08 100644 --- a/addons/project_long_term/project_long_term_view.xml +++ b/addons/project_long_term/project_long_term_view.xml @@ -13,14 +13,27 @@ <field name="model">project.resource.allocation</field> <field name="type">gantt</field> <field name="arch" type="xml"> - <gantt color="phase_id" date_start="phase_id_date_start" date_stop="phase_id_date_end" string="R.A." mode="year"> - <level object="project.resource" link="resource_id" domain="[]"> - <field name="useability"/> + <gantt color="phase_id" date_start="date_start" date_stop="date_end" string="R.A." mode="year"> + <level object="res.users" link="user_id" domain="[]"> + <field name="useability" string="Availability"/> </level> </gantt> </field> </record> + <record id="view_project_resource_allocation_calendar" model="ir.ui.view"> + <field name="name">project.resource.allocation.calendar</field> + <field name="model">project.resource.allocation</field> + <field name="type">calendar</field> + <field eval="2" name="priority"/> + <field name="arch" type="xml"> + <calendar color="user_id" date_start="date_start" date_stop="date_end" day_length="12" string="Resources"> + <field name="phase_id"/> + <field name="project_id"/> + </calendar> + </field> + </record> + <record id="view_project_resource_allocation_form" model="ir.ui.view"> <field name="name">project.resource.allocation.form</field> @@ -28,9 +41,14 @@ <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" string="Availability"/> + <group colspan="4" col="6"> + <field name="resource_id"/> + <field name="phase_id"/> + <field name="project_id"/> + <field name="date_start"/> + <field name="date_end"/> + <field name="useability" string="Availability"/> + </group> </form> </field> </record> @@ -44,6 +62,7 @@ <tree editable="bottom" string="Project Resource Allocation"> <field name="resource_id"/> <field name="phase_id"/> + <field name="project_id"/> <field name="useability"/> </tree> </field> @@ -58,11 +77,13 @@ <group colspan="4" col="20"> <field name="resource_id"/> <field name="phase_id"/> + <field name="project_id"/> </group> <newline/> <group expand="0" string="Group By..." colspan="4" col="20"> <filter name="resource" string="Resource" icon="terp-folder-blue" domain="[]" context="{'group_by':'resource_id'}"/> <separator orientation="vertical"/> + <filter string="Project" icon="terp-project" domain="[]" context="{'group_by':'project_id'}"/> <filter string="Phase" icon="terp-project" domain="[]" context="{'group_by':'phase_id'}"/> </group> </search> @@ -73,7 +94,7 @@ <field name="name">Resource Allocations</field> <field name="res_model">project.resource.allocation</field> <field name="view_type">form</field> - <field name="view_mode">tree,form,gantt</field> + <field name="view_mode">gantt,tree,form,calendar</field> <field name="context">{}</field> <field name="search_view_id" ref="view_project_resource_allocation_search"/> </record> @@ -110,10 +131,14 @@ <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="date_start"/> + <field name="date_end"/> <field name="useability"/> </tree> <form string="Project Resource Allocation"> <field name="resource_id" context="{'project_id':parent.project_id}"/> + <field name="date_start"/> + <field name="date_end"/> <field name="useability"/> </form> </field> @@ -265,7 +290,7 @@ <field name="name">Project Phases</field> <field name="res_model">project.phase</field> <field name="view_type">form</field> - <field name="view_mode">tree,form,gantt,calendar</field> + <field name="view_mode">gantt,tree,form,calendar</field> <field name="context">{'search_default_responsible_id':uid}</field> <field name="search_view_id" ref="view_project_phase_search"/> <field name="help">You can subdivide your larger projects into several phases. For each phase, you can define your resources allocation (humans or engine), describe de differend task and link your phase with previous and next one, add constraints date and scheduling. A gantt view of your project phase is also available from this menu. Gantt view is a graphically draw of the project plan; it includes any task dependencies by visually adjusting task durations and priorities, and by linking tasks to each other.</field> |
