diff options
Diffstat (limited to 'addons/project_long_term/project_long_term_view.xml')
| -rw-r--r-- | addons/project_long_term/project_long_term_view.xml | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/addons/project_long_term/project_long_term_view.xml b/addons/project_long_term/project_long_term_view.xml index 0cdb7af5ad7..7eaed6e120c 100644 --- a/addons/project_long_term/project_long_term_view.xml +++ b/addons/project_long_term/project_long_term_view.xml @@ -63,7 +63,7 @@ <field name="resource_id"/> <field name="phase_id"/> <field name="project_id"/> - <field name="useability"/> + <field name="useability" string="Availability"/> </tree> </field> </record> @@ -117,7 +117,7 @@ </group> <group colspan="6" col="6"> <field name="date_start"/> - <field name="duration" on_change="onchange_days(project_id)" /> + <field name="duration"/> <field name="product_uom" nolabel="1" domain="[('category_id.name', '=', 'Working Time')]"/> <field name="date_end"/> </group> @@ -127,15 +127,15 @@ <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"/> + <field name="date_start" readonly="1"/> + <field name="date_end" readonly="1"/> + <field name="useability" string="Availability"/> </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"/> + <field name="date_start" readonly="1"/> + <field name="date_end" readonly="1"/> + <field name="useability" string="Availability"/> </form> </field> <separator string="" colspan="4"/> @@ -148,14 +148,17 @@ <button string="Start Phase" name="set_open" states="pending,draft" icon="gtk-execute"/> </group> </page> - <page string="Task Detail"> - <field colspan="4" name="task_ids" context="{'default_project_id' :project_id}" nolabel="1"> - <tree editable="bottom" string="Project's Tasks"> + <page string="Tasks Details"> + <field colspan="4" name="task_ids" readonly="1" context="{'default_project_id' :project_id}" nolabel="1"> + <tree string="Project's Tasks"> + <field name="sequence"/> <field name="name"/> <field name="user_id"/> <field name="planned_hours" widget="float_time"/> <field name="project_id" invisible="1"/> <field name="total_hours" sum='Total Hours'/> + <field name="remaining_hours" widget="float_time" sum="Remaining Hours"/> + <field name="state"/> </tree> <form string="Project's Tasks"> <notebook colspan="4"> @@ -164,6 +167,7 @@ <field name="name"/> <field name="project_id"/> <field name="user_id"/> + <field name="sequence"/> </group> <group colspan="2" col="2"> <separator string="Dates" colspan="2"/> @@ -174,7 +178,7 @@ <separator string="Planning" colspan="2"/> <field name="planned_hours" widget="float_time"/> <field name="total_hours" widget="float_time"/> - <field name="remaining_hours" widget="float_time" sum="Remaining Hours"/> + <field name="remaining_hours" widget="float_time"/> <field name="effective_hours" invisible="1"/> </group> <group colspan="6" col="4"> @@ -197,9 +201,9 @@ <field name="sequence"/> </group> <separator colspan="4" string="Previous Phases"/> - <field colspan="4" name="previous_phase_ids" nolabel="1"/> + <field colspan="4" name="previous_phase_ids" nolabel="1" domain="[('id','!=',active_id)]"/> <separator colspan="4" string="Next Phases"/> - <field colspan="4" name="next_phase_ids" nolabel="1"/> + <field colspan="4" name="next_phase_ids" nolabel="1" domain="[('id','!=',active_id)]"/> </page> </notebook> <newline/> @@ -218,6 +222,8 @@ <field name="project_id" on_change="onchange_project(project_id)"/> <field name="responsible_id"/> <field name="date_start"/> + <field name="date_end"/> + <field name="duration"/> <field name="state"/> </tree> </field> @@ -267,6 +273,7 @@ </field> <field name="responsible_id"/> <field name="date_start"/> + <field name="date_end"/> </group> <newline/> <group expand="0" string="Group By..." colspan="4" col="20" groups="base.group_extended"> @@ -289,7 +296,7 @@ <field name="view_mode">gantt,tree,form,calendar</field> <field name="context">{"search_default_current": 1}</field> <field name="search_view_id" ref="view_project_phase_search"/> - <field name="help">A project can be split into the different phases. For each phase, you can define your resources allocation, describe different tasks and link your phase to previous and next ones, add date constraints for the automated scheduling. Use the long term planning in order to planify your available human resources, convert your phases into a series of tasks when you start working on it.</field> + <field name="help">A project can be split into the different phases. For each phase, you can define your resources allocation, describe different tasks and link your phase to previous and next phases, add date constraints for the automated scheduling. Use the long term planning in order to planify your available human resources, convert your phases into a series of tasks when you start working on the project.</field> </record> <record id="act_project_phase_list" model="ir.actions.act_window"> |
