summaryrefslogtreecommitdiff
path: root/addons/event/data/email_template_data.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-07-26 23:43:17 +0200
committerOlivier Dony <odo@odoo.com>2018-07-26 23:52:18 +0200
commit92a224ee3a6aafaf33911dd9a7cac8f53fc413f7 (patch)
tree6c7f64feb0e32cfd43b78dbc138bb6de32c4ba83 /addons/event/data/email_template_data.xml
parentfb31330451f957798d5a6354f80736cf442bb714 (diff)
[FIX] event: prefer registration email over partner email
As of rev. ca989b6548e93c25f54684e5569ed3998161acce, the default recipients of a model record are used to filter out blacklisted and duplicate emails during a mass-mailing. This can match both either partner_ids or emails, as returned by `message_get_default_recipients()`. The problem with even registration is that a single partner, sometime anonymous (Public User) can be used to register several participants. We therefore need to override `message_get_default_recipients()` to that intent, similarly to what is done in crm.lead since ca989b6548e93c25f54684e5569ed3998161acce. Without this, mass-mailings sent to free event attendees would never be sent, as they would all appear to be duplicates of each other.
Diffstat (limited to 'addons/event/data/email_template_data.xml')
0 files changed, 0 insertions, 0 deletions