summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2018-11-20 14:11:59 +0100
committerGitHub <noreply@github.com>2018-11-20 14:11:59 +0100
commit43638b0b2863a4c53248b9d5f58ab99f5508935f (patch)
tree026be5e8d8ac23d25c66201384b6bc7dfef48770 /addons/web/static/src/js/fields/basic_fields.js
parent097c8afb74f2dddce994183284f99c0ed4382ad5 (diff)
parentede0f03e15100205d05621711125c933931e95ef (diff)
[MERGE][REF] mail : store normalized email addresses
Add a mixin that can be used to store a normalized version of the primary email address of the parent model. The email_normalized field can than be used on that model to search quickly on emails (by simple comparison and not using time consuming regex anymore) Apply the mail.address.mixin on blacklist mixin. So that every model inheriting the blacklist.mixin will also inherit the address.mixin. That simplify also the comparaison to - and the searches on - the blacklist. Use the email.normalized from mail.address.mixin to get always a normalized email address in the unsubscribe link. That allows to simplify the search on email address in the controllers -> Check blacklist, send feedback, etc.. This merge is linked to task ID 1896677 closes odoo/odoo#28205
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions