diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-07-18 11:08:44 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-07-19 17:05:20 +0200 |
| commit | dd72fef73f8fbe8f152866abb99badbb34ae06e2 (patch) | |
| tree | 1257dcf4b6b82105d155a63ade45b3ac6833e4ca /addons/web_editor/static | |
| parent | 49f634e47261c663955f4ccf432cbff4a02c349f (diff) | |
[IMP] base: do not format email for partners not having email
Currently if a partner has a void email, its email_formatted field holds
a value like "Raoul Grosbedon <False>" which is quite rarely considered
as a valid email address.
Minimal fix for this field is to return a void value if there is no email.
Having a void return is easier to manipulate for callers in order to
handle it.
This commit is linked to task ID 1860049 and PR #25824.
Diffstat (limited to 'addons/web_editor/static')
0 files changed, 0 insertions, 0 deletions
