diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-02-14 15:28:17 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-03-23 11:42:11 +0000 |
| commit | aeed763b034162832e681093054cebd1a864304e (patch) | |
| tree | b463f1f7cd1bc86e457a3e2ae8b264e3986cc0ec /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 03afd0f2a1a2bdfc8c50052eb88524f37e1e7e13 (diff) | |
[FIX] crm: improve duplicate finding when converting
SPECIFICATIONS
Improve heuristic used to find lead to convert duplicates
* check email_normalized instead of email_from, as it may contain formatted
emails. Normalized email are sanitized and normalized version of emails
and ease comparisons;
* use lead email if its customer has no email;
* if no email is available but a customer is set, use it anyway;
This notably reverts 2917b38f28d5c2d6c53c706e613da7b8e2ad7b52 . Indeed no reason has been found why
this fix is necessary.
LINKS
Task ID 2088565 (crm: from onchange to compute)
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
