[FIX] Fixed argument of wrapper.

bzr revid: tde@openerp.com-20121221160523-q11rzna9jz7zspyu
This commit is contained in:
Thibault Delavallée 2012-12-21 17:05:23 +01:00
parent 6e8d8a0863
commit be6dd64e1e
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class res_users(osv.Model):
thread_id = thread_id[0]
return self.browse(cr, uid, thread_id).partner_id.id
def message_post_user_api(self, cr, uid, thread_id, body='', context=None, **kwargs):
def message_post_user_api(self, cr, uid, thread_id, context=None, **kwargs):
""" Redirect the posting of message on res.users to the related partner.
This is done because when giving the context of Chatter on the
various mailboxes, we do not have access to the current partner_id. """