[FIX] mail: posting on the user should be redirect to its partner, not nowhere.
This commit is contained in:
parent
0714b23164
commit
be3b7ba301
|
@ -136,7 +136,7 @@ class res_users(osv.Model):
|
|||
if user_pid not in current_pids:
|
||||
partner_ids.append(user_pid)
|
||||
kwargs['partner_ids'] = partner_ids
|
||||
return self.pool.get('mail.thread').message_post(cr, uid, False, **kwargs)
|
||||
return self.pool['res.partner'].message_post(cr, uid, user_pid, **kwargs)
|
||||
|
||||
def message_update(self, cr, uid, ids, msg_dict, update_vals=None, context=None):
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue