Skip to content

Commit

Permalink
[FIX] don't reset last action date on any write
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe CHAUVET authored and Stefan Rijnhart committed Jul 2, 2014
1 parent 7eee34a commit 19d4416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/project_issue/project_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def message_post(self, cr, uid, thread_id, body='', subject=None, type='notifica

res = super(project_issue, self).message_post(cr, uid, thread_id, body=body, subject=subject, type=type, subtype=subtype, parent_id=parent_id, attachments=attachments, context=context, content_subtype=content_subtype, **kwargs)

if thread_id:
if thread_id and subtype:
self.write(cr, uid, thread_id, {'date_action_last': time.strftime(tools.DEFAULT_SERVER_DATETIME_FORMAT)}, context=context)

return res
Expand Down

0 comments on commit 19d4416

Please sign in to comment.