diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-04-10 14:00:14 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-04-10 14:45:33 +0200 |
| commit | 2d19c4c6b88ec75c3994af3a13ce467bb9d8e9f9 (patch) | |
| tree | e957eb37ee39a93ff30c6d4b98ca65292f1a34f1 /addons/web_editor/static/src/js/widgets/widgets.js | |
| parent | b7f43f265da33c070f2965bfd226a4722a3128b0 (diff) | |
[FIX] mail: raise a missing email error instead of crash when logging without email
Currently when posting a message if the author has no email address an user
error is raised. Indeed as posting a message goes through the process of
creating notifications and sending emails an email address is required on
the user.
In saas 11.2 a _message_log shortcut has been added to log notes. This
method should have the same behavior when author has no email. Currently
there is a crash when trying to encode its email. After this commit an
exceptions is raised like classic post.
This commit is related to task ID 1823990 .
Diffstat (limited to 'addons/web_editor/static/src/js/widgets/widgets.js')
0 files changed, 0 insertions, 0 deletions
