odoo/enterprise#64304
Created by fw-bot
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 2827s)
- label
- odoo-dev:master-17.0-opw-3920634-ryce-rs7s-fw
- head
- 6110356b13df9761323bf7286bef5065ea1d222f
- merged
- 2 years ago by Ryan Cen (ryce)
| 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 |
[FW][FIX] helpdesk: properly filter alias on creation
With the introduction of alias domains in 17.0 an issue was uncovered in the helpdesk module where any additional alias names with different domains would be added as followers. This stemmed from an issue in _ticket_email_split which was not properly filtering emails out that matched the alias name because self was not yet defined when the method was called. This was not a problem before because this was immediately fed into _mail_find_partner_from_emails that would also filter out by alias_name. This is no longer the case because the domain has to also match.
Passing in the newly created ticket and using this to map to team_id.alias_name fixes this issue by properly filtering out alias emails even with different domains.
Forward-Port-Of: #63477