[IMP] project_scrum: replace log using message_append_note

bzr revid: tpa@tinyerp.com-20120508120409-7tir5sebek2dmpzf
This commit is contained in:
Turkesh Patel (Open ERP) 2012-05-08 17:34:09 +05:30
parent f6e8993e3f
commit 745fb1ff84
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class backlog_sprint_assign(osv.osv_memory):
'remaining_hours':backlog.expected_hours,
})
message = _("Product Backlog '%s' is converted into Task %d.") %(backlog.name, task_id)
self.log(cr, uid, backlog.id, message)
self.message_append_note(cr, uid, ids, body=message, context=context)
if data.state_open and backlog.state == "draft":
backlog_obj.write(cr, uid, backlog.id, {'state':'open'})
sprint = sprint_obj.browse(cr, uid, data.sprint_id.id, context=context)