[IMP]minor changes

bzr revid: sgo@tinyerp.com-20120831091043-4rix3ozakssbxrgn
This commit is contained in:
Sanjay Gohel (Open ERP)
2012-08-31 14:40:43 +05:30
parent f99095ecd0
commit 5eed2be266
+1 -1
View File
@@ -577,7 +577,7 @@ class mail_thread(osv.Model):
self.message_post(cr, uid, [id], message, context=context)
def message_post(self, cr, uid, thread_id, body='', subject=False,
msg_type='notification', parent_id=False, attachments=None, context=None, **kwargs):
msg_type='notification', parent_id=False, attachments=None, subtype='other', context=None, **kwargs):
""" Post a new message in an existing message thread, returning the new
mail.message ID. Extra keyword arguments will be used as default
column values for the new mail.message record.