odoo/odoo#165884
Created by Ryan Cen (ryce)
Closed
- label
- odoo-dev:17.0-opw-3920634-ryce
- head
- 3d74986a81dd887a6865e8076ab08b8b18a4be35
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| 17.0 | #165884 | #63477 |
| saas-17.1 | #64286 | |
| saas-17.2 | #64295 | |
| saas-17.3 | #64301 | |
| 18.0 | ||
| saas-18.2 | ||
| saas-18.3 | ||
| saas-18.4 | ||
| 19.0 | ||
| saas-19.1 | ||
| saas-19.2 | ||
| master | #64304 |
[FIX] mail: don't add same local part as follower
With the introduction of alias domains in 17.0, redirected emails from non Odoo addresses would automatically add the original email as a follower. This would cause an infinite loop of emails to be sent to and from the database.
Using the setting on aliases "alias_incoming_local" allows us to check the local part of aliases that have this enabled to prevent this from happening if the redirect email and the alias on the database have the same local part. Thus, the additional email will not be added as a follower.
opw-3920634
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr