diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-03-21 13:04:51 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-03-21 13:04:51 +0100 |
| commit | 88b39119b8b1757c2b66561887a78a4d811629f0 (patch) | |
| tree | 6b25c9c05ae83058ced47e971b982fc04f9978d5 /addons/analytic_user_function/security/ir.model.access.csv | |
| parent | f4a98e143b6543518ace32a5962de3753b62de53 (diff) | |
| parent | f02e8bfd61bf6ae75d5206256f1fafe3fa924148 (diff) | |
[MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address.
The mailgateway tries to find a partner that is also an user with the email_from.
If none is found, it takes the first partner with matching email.
In message_post, it tries to find the author based on the document's followers.
Indeed it is very likely that an answer comes from a follower of a document.
The whole process is not done inside the mailgateway because document
and followers related stuff belong to message_post, not to the mail gateway.
Tests have been added in mail.
bzr revid: tde@openerp.com-20130321120451-qk524qayq28sw3th
Diffstat (limited to 'addons/analytic_user_function/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions
