[IMP] project_scrum: inhetrit from mail.thread
bzr revid: tpa@tinyerp.com-20120507120323-dq39n179r8swiol2
This commit is contained in:
@@ -44,6 +44,7 @@ class project_scrum_sprint(osv.osv):
|
||||
_name = 'project.scrum.sprint'
|
||||
_description = 'Project Scrum Sprint'
|
||||
_order = 'date_start desc'
|
||||
_inherit = ['mail.thread']
|
||||
def _compute(self, cr, uid, ids, fields, arg, context=None):
|
||||
res = {}.fromkeys(ids, 0.0)
|
||||
progress = {}
|
||||
|
||||
@@ -24,6 +24,7 @@ from tools.translate import _
|
||||
class backlog_sprint_assign(osv.osv_memory):
|
||||
_name = 'project.scrum.backlog.assign.sprint'
|
||||
_description = 'Assign sprint to backlogs'
|
||||
_inherit = ['mail.thread']
|
||||
_columns = {
|
||||
'sprint_id': fields.many2one('project.scrum.sprint', 'Sprint', required=True, help="Select Sprint to assign backlog."),
|
||||
'state_open': fields.boolean('Open Backlog', help="Change the state of product backlogs to open if its in draft state"),
|
||||
|
||||
Reference in New Issue
Block a user