[IMP] scrum view and usability improvements in scrum
bzr revid: hda@tinyerp.com-20100303120847-9n30r54ir7qjhg9o
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
<field colspan="4" name="note" nolabel="1"/>
|
||||
</page>
|
||||
<page string="Tasks">
|
||||
<field colspan="4" name="tasks_id" nolabel="1" widget="one2many_list"/>
|
||||
<field colspan="4" name="tasks_id" nolabel="1" widget="one2many_list" context="{'default_project_id':project_id, 'default_sprint_id':sprint_id, 'default_product_backlog_id':active_id}"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="7" colspan="4">
|
||||
@@ -184,17 +184,17 @@
|
||||
<notebook colspan="4">
|
||||
<page string="Sprint Info">
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Owners"/>
|
||||
<separator string="Owners" colspan="2"/>
|
||||
<field name="product_owner_id"/>
|
||||
<field name="scrum_master_id"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Dates"/>
|
||||
<separator string="Dates" colspan="2"/>
|
||||
<field name="date_start" select="1"/>
|
||||
<field name="date_stop"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Planning"/>
|
||||
<separator string="Planning" colspan="2"/>
|
||||
<field name="planned_hours" widget="float_time"/>
|
||||
<field name="expected_hours" widget="float_time"/>
|
||||
<field name="effective_hours" widget="float_time"/>
|
||||
|
||||
@@ -48,7 +48,7 @@ def _do_create(self, cr, uid, data, context):
|
||||
'name': backlog.name,
|
||||
'description': backlog.note,
|
||||
'project_id': backlog.project_id.id,
|
||||
'user_id': (backlog.user_id and backlog.user_id.id) or uid,
|
||||
'user_id': data['form']['user_id'] or (backlog.user_id and backlog.user_id.id) or uid,
|
||||
'planned_hours': backlog.planned_hours
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user