[FIX] project: Fixed error occurring on planned hours.

lp bug: https://launchpad.net/bugs/684472 fixed

bzr revid: uco@tinyerp.com-20101203124639-62f62f7urjuj812y
This commit is contained in:
uco (OpenERP) 2010-12-03 18:16:39 +05:30
parent 27360ddd7b
commit bd8bfab2da
1 changed files with 3 additions and 0 deletions

View File

@ -223,6 +223,9 @@
widget="float_time"
attrs="{'readonly':[('state','!=','draft')]}"
on_change="onchange_planned(planned_hours, effective_hours)"/>
<field
name="effective_hours"
widget="float_time" invisible="1"/>
</group>
<group col="3" colspan="2">
<field name="remaining_hours" widget="float_time" attrs="{'readonly':[('state','!=','draft')]}" colspan="2"/>