[FIX] mail.thread make body an optional keywarg, so it can be passed via **args - should always be explicitly specified
bzr revid: odo@openerp.com-20120822191630-55anhcuu0l1j0ioq
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user