[FIX] project_issue: missing api.returns decorator on project_issue.message_post()

This commit is contained in:
Damien Bouvy
2015-08-14 13:19:03 +02:00
committed by Antony Lesuisse
parent f8357a1a60
commit 8db80880a6
+1
View File
@@ -356,6 +356,7 @@ class project_issue(osv.Model):
return res_id
@api.cr_uid_ids_context
@api.returns('mail.message', lambda value: value.id)
def message_post(self, cr, uid, thread_id, subtype=None, context=None, **kwargs):
""" Overrides mail_thread message_post so that we can set the date of last action field when
a new message is posted on the issue.