diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 6867c0e08b1..8e5222f6d04 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -516,7 +516,7 @@ class mail_thread(osv.Model): now deprecated res.log.") self.message_post(cr, uid, [id], message, context=context) - def message_post(self, cr, uid, thread_id, body, subject=False, + def message_post(self, cr, uid, thread_id, body='', subject=False, msg_type='notification', parent_id=False, attachments=None, 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