[IMP] project_scrum: sprint should be ordered by starting_date des,allow cancel product backlog when they still are draft
bzr revid: sbh@tinyerp.com-20101115070033-fn1s4vmc8m9r63tw
This commit is contained in:
parent
f1a6d0af14
commit
c0a85fa831
|
@ -43,7 +43,7 @@ project_scrum_project()
|
|||
class project_scrum_sprint(osv.osv):
|
||||
_name = 'project.scrum.sprint'
|
||||
_description = 'Project Scrum Sprint'
|
||||
_order = 'date_start'
|
||||
_order = 'date_start desc'
|
||||
def _compute(self, cr, uid, ids, fields, arg, context=None):
|
||||
res = {}.fromkeys(ids, 0.0)
|
||||
progress = {}
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
</notebook>
|
||||
<group col="8" colspan="4">
|
||||
<field name="state" select="1" readonly="1"/>
|
||||
<button type="object" string="Cancel" name="button_cancel" states="open,pending" icon="gtk-stop"/>
|
||||
<button type="object" string="Cancel" name="button_cancel" states="draft,open,pending" icon="gtk-stop"/>
|
||||
<button type="object" string="Open" name="button_open" states="draft,pending" icon="terp-camera_test"/>
|
||||
<button type="action" string="Convert to Task" name="%(action_scrum_backlog_to_task)d" states="pending" icon="gtk-execute"/>
|
||||
<button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
|
||||
|
|
Loading…
Reference in New Issue