diff options
| author | David Beguin <dbe@odoo.com> | 2018-10-19 15:05:59 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2018-10-31 10:51:56 +0000 |
| commit | c28ae53417000fcaf0c87c573db785410d09f8fa (patch) | |
| tree | e53aef9071b4f195d16258c821bdf2923aab7ca3 /addons/web_editor/static/src/js/widgets | |
| parent | 1f16c2aabebadcb68dea6e706a2cb5a7b923bf07 (diff) | |
[FIX] mail : fix traceback while creating invalid blacklist email address
The objective of not creating the record if the email was invalid
was to avoid crash on import. But if the number of record created does not
match the number of record that would have been created (see in flush()
in models.py), this cannot work.
Also, it's necessary to tell the user that his import file has an error
and where. This is why a UserError must be returned.
Task ID 1902139
Closes PR #28011
Diffstat (limited to 'addons/web_editor/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions
