diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2016-06-02 10:14:54 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-06-02 11:38:00 +0200 |
| commit | 57e5d703c2992c746e2a33e9a3e9e803e6789f32 (patch) | |
| tree | e0ce8f6de72bdf19d6be79daa332c31eb838412d /addons/website_google_map/static/src/lib | |
| parent | b49818e1ee03205cbef1cc70c21c424ca1a9b436 (diff) | |
[FIX] mass_mailing: filter emails to avoid duplicates
When subscribing a user to a mailing list, the `mail.mass_mailing.contact`
created is processed to identify it's name and email from the address (method
`get_name_email` called in `add_to_list` and `name_create`).
For a better consistency, the search of existing contacts should also be done
using the method `get_name_email`.
This avoids that subscribing twice `Example <example@example.com>` fails to
detect duplicates and creates two subscriptions.
Closes #12265
Diffstat (limited to 'addons/website_google_map/static/src/lib')
0 files changed, 0 insertions, 0 deletions
