diff options
| author | Julien Castiaux <juc@odoo.com> | 2021-04-21 12:09:31 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2021-04-26 08:27:12 +0000 |
| commit | 94849f6545e96d0823bd29cef7fa111b82ed3b28 (patch) | |
| tree | 734e46e189cd0abfab4f14cb9663ecad75544e3d /doc/python3.rst | |
| parent | cbed573e6146a0aab6e0e9114be515a347cd10a4 (diff) | |
[FIX] mail: sanitize dots in generated mail alias
Create a company whoose name ends with a dot like "Bidule Inc.", change
the company of the user to that new company, head to the Accouning
module and create a new journal of type purchase. Traceback because the
generated mail alias for that journal uses the company name and that the
local-part of an email cannot ends with a dot.
From the RFC standpoint, the local-part of an email address (the part
before the @, `john` in `"John Doe" <john@example.com>`, cannot begins
with, ends with or contain following dots.
The email sanitizing function have been updated so it takes care of the
above requirement.
See also #61811
opw-2448692
closes odoo/odoo#69816
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
