diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-03-22 15:29:16 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-03-22 15:29:16 +0100 |
| commit | 46dc796812b0b3fca533a141a4811aa40e1d1c76 (patch) | |
| tree | d7ba36e32421dff62a2b6a5b62648f57a113cb91 /addons/analytic_user_function | |
| parent | 9f29b5da1736164074b6a1637a1229ffda7e7f52 (diff) | |
| parent | 4ebbf0e58d313f1e2c9655cb302f72089436a6d2 (diff) | |
[MERGE] [FIX] mail: message_process: do not process incoming emails
with a message_id already existing in database. Indeed loops can occur when
openerp send notification emails to partners having an email address
matching an alias. The mail was routed in the same thread, leading to
further notification emails sent, causing an email loop.
Before trying to find possible routes, check that the incoming email's
message_id is not already present in mail.message table.
If it is the case, return False.
Parsing of the message has been moved before routing, to avoid looking
for routes for emails we will discard.
bzr revid: tde@openerp.com-20130322142916-0q3epz7dpgkyzuj0
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
