diff options
| author | Julien (juc) Castiaux <juc@odoo.com> | 2018-10-15 13:28:15 +0000 |
|---|---|---|
| committer | Julien (juc) Castiaux <juc@odoo.com> | 2018-10-15 13:42:58 +0000 |
| commit | 71f188082fff062a708a68e799ca1f3000fa21fb (patch) | |
| tree | 4aeeb6115ef26b977ebca7b1007d190f8308d995 /addons/web/static/src/js | |
| parent | 661483c026777fff4c6dd6ec245c991f7c4248ac (diff) | |
[FIX] mail: unicode character in email cannot be parsed
Sending email to addresses containing unicode characters
cannot be parsed by python and result in a UnicodeEncodeError.
This PR catch that specific exception and output a meaningful
error message.
Decision has been taken to not trigger any error message
client-side has it would have needed modifications on some
sensitive low-level backend code.
To reproduce:
- Configure odoo so it uses an email server
- Send an invoice to a partner whoose email address contains
some unicode characters (exemple: æøåÇÀ@example.com)
opw-1892409
closes odoo/odoo#27804
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
