diff --git a/addons/mail/res_users.py b/addons/mail/res_users.py index 4f87b9d51dc..e58e97a3fd8 100644 --- a/addons/mail/res_users.py +++ b/addons/mail/res_users.py @@ -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. """