[FIX] [IMP] mail: fixed mail sent to users being redirected to their partner profile
authorThibault Delavallée <tde@openerp.com>
Thu, 28 Aug 2014 10:41:44 +0000 (12:41 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 28 Aug 2014 10:53:34 +0000 (12:53 +0200)
commit9094d768d0aca0a80d4a5d9a1151e19b9854c48f
treee74f530a7da2fbc5ebb0f87090155a72d3a893d2
parent4a731b2b225d8d3b48b84f22b6a28be71d5ec141
[FIX] [IMP] mail: fixed mail sent to users being redirected to their partner profile
leading to potential issues.

Now the behavior is back to its previous version, posting on the user creates a private
discussion. Fixed management of model variable in message_post to avoid posting messages
on the mail.thread model.

Classic inbox writes on partner, with hr it writes on the employee profile, like previously.
addons/mail/mail_thread.py
addons/mail/mail_thread_view.xml
addons/mail/res_users.py
addons/portal/portal_view.xml