[FIX] Stupid, forgot to test for None context again
bzr revid: cbi@openerp.com-20130312150719-s6l0d6173cqrmnoe
This commit is contained in:
parent
f6c9e78f1f
commit
a30a3a0e33
|
@ -549,6 +549,9 @@ class project_issue(base_stage, osv.osv):
|
|||
""" 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.
|
||||
"""
|
||||
if context is None:
|
||||
context = {}
|
||||
|
||||
if thread_id:
|
||||
model = context.get('thread_model', self._name)
|
||||
if model != self._name:
|
||||
|
|
Loading…
Reference in New Issue