[IMP] project: view improvement on delegrate wizard

bzr revid: hmo@tinyerp.com-20101013122519-8f2gjt5lzxzgr23q
This commit is contained in:
Harry (OpenERP) 2010-10-13 17:55:19 +05:30
parent 6436a6a86e
commit c000866aa3
2 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,8 @@
<field name="user_id" colspan="4"/>
<field name="planned_hours" widget="float_time" colspan="4"/>
<field name="name" colspan="4"/>
<field name="new_task_description" colspan="4" />
<separator string="New Task Description" colspan="4"/>
<field name="new_task_description" colspan="4" nolabel="1"/>
</group>
<group colspan="2" col="2">
<separator string="Validation Task" colspan="4"/>
@ -25,7 +26,7 @@
<group colspan="2" col="2">
</group>
<group colspan="2" col="2">
<button icon="gtk-close" special="cancel" string="_Cancel"/>
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
<button icon="gtk-ok" name="delegate" string="_Delegate" type="object"/>
</group>
</form>

View File

@ -396,7 +396,7 @@ class project_resource_allocation(osv.osv):
'user_id': fields.related('resource_id', 'user_id', type='many2one', relation="res.users", string='User'),
'date_start': fields.date('Start Date', help="Starting Date"),
'date_end': fields.date('End Date', help="Ending Date"),
'useability': fields.float('Availability', help="Usability of this resource for this project phase in percentage (=50%)"),
'useability': fields.float('Availability', help="Availability of this resource for this project phase in percentage (=50%)"),
}
_defaults = {
'useability': 100,