diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-10-01 14:01:27 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-10-02 16:52:18 +0200 |
| commit | 7b0c502d6009bbe351301714551ea098c74e9387 (patch) | |
| tree | 87a9f4d4b471fbbc7f728cca498fef116ca6c1df /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 2f82b95dcaf8e9773d47c369e9218b9f778642e2 (diff) | |
[FIX] mail: ensure creation of unique emails in blacklist
Currently blacklist is configured to have unique emails. Notably when creating
new entries it checks for existing records with same email to avoid crashing
about duplicate entries.
However it does not check if given values use unique emails. When importing
a big list of emails you are not sure emails are unique. This commit ensures
values given to create are correct to avoid crashing when importing a lot
of data.
This commit is related to task ID 33224 (original blacklist implementation
done for v12) and its PR #25966 as well as task ID 1889703 (tests and fixes)
and its PR #27330. Done with collaboration of @dbeguin.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
