odoo/addons/mass_mailing/controllers
Jairo Llopis 57e5d703c2
[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
2016-06-02 11:38:00 +02:00
..
__init__.py [REF] mass_mailing: first refactor 2013-09-13 13:54:08 +02:00
main.py [FIX] mass_mailing: filter emails to avoid duplicates 2016-06-02 11:38:00 +02:00