Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mail: correctly extract email from email field in computed blac…
…klist 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 <[email protected]>". Related blacklist entry would be [email protected]. 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 2ff9b37. This commit is related to task ID 33224 (original blacklist implementation done for v12) and its PR odoo#25966 as well as task ID 1889703 (tests and fixes) and its PR odoo#27330. Done with collaboration of @dbeguin.
- Loading branch information