[IMP] layout task form view

bzr revid: fp@tinyerp.com-20120619052511-z7p8myd020prwfs7
This commit is contained in:
Fabien Pinckaers 2012-06-19 07:25:11 +02:00
parent 3b8497d0b3
commit c9c27a2432
1 changed files with 6 additions and 8 deletions

View File

@ -360,14 +360,12 @@
</group>
<group>
<field name="date_deadline" attrs="{'readonly':[('state','in',['done', 'cancelled'])]}"/>
<label for="planned_hours" groups="project.group_time_work_estimation_tasks"/>
<div groups="project.group_time_work_estimation_tasks">
<field name="planned_hours" widget="float_time" attrs="{'readonly':[('state','!=','draft')]}"
class="oe_form_inline"
on_change="onchange_planned(planned_hours, effective_hours)"/>
<field name="progress" widget="progressbar"
class="oe_form_inline"/>
</div>
<field name="planned_hours" widget="float_time" attrs="{'readonly':[('state','!=','draft')]}"
groups="project.group_time_work_estimation_tasks"
on_change="onchange_planned(planned_hours, effective_hours)"/>
<field name="progress" widget="progressbar"
groups="project.group_time_work_estimation_tasks"
invisible="1"/>
</group>
</group>
<notebook>