projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0714b23
)
[FIX] mail: posting on the user should be redirect to its partner, not nowhere.
author
Thibault Delavallée
<tde@openerp.com>
Wed, 13 Aug 2014 12:47:35 +0000
(14:47 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Wed, 13 Aug 2014 14:45:58 +0000
(16:45 +0200)
addons/mail/res_users.py
patch
|
blob
|
history
diff --git
a/addons/mail/res_users.py
b/addons/mail/res_users.py
index
eedc046
..
22cff15
100644
(file)
--- a/
addons/mail/res_users.py
+++ b/
addons/mail/res_users.py
@@
-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