diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-10-02 10:52:02 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-10-02 16:52:30 +0200 |
| commit | 2b73bed880ff011332fb11762e87f6eeb5c7bbdd (patch) | |
| tree | 4a9ff960938daec640be5ad3d58b4fc617ff4d65 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | bbe469006689c966582e095d3508d0dcecb41dbe (diff) | |
[FIX] mail: correctly extract email from email field in computed blacklist fields
Purpose of this commit is to correctly extract email address from the email
field of models inheriting from the blacklist mixin. Indeed email field
could contain a formatted address like "Raoul Grosbedon <RAOUL@example.com>".
Related blacklist entry would be raoul@example.com. We have to extract
the email from the email field and lowerize it in the SQL query or the
computation in order to have a fully working blacklist mixin. This fixes
some bits left at commit 2ff9b379ef80ba6a8744fb9702a8088284372ddd.
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
