diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-07-10 13:19:10 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-07-11 06:53:28 +0000 |
| commit | 715834c6e77bcec0029485c9ee3922e3c1a65083 (patch) | |
| tree | 565c6a43b31ba42bd381c1760195fa64af3dbeb4 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 560e03e3b05f7b38709d6c46e8f77f12996e8966 (diff) | |
[FIX] mail: allow message_log to store a void email_from
Some functional flows use sudo() to create records as current user is the
public user. This user has no email. Since 1e6c3bec2c5ca621344b09e58dbed535e80fb343 using sudo does
not take superuser identity completely as it only bypasses access rights.
It means some messages are created with public user as author, meaning no
email_from.
In this commit we fix some functional flows by allowing message_log to store
messages with a void email_from. Indeed message_log does not propagate any
notifications, meaning email_from is not required in any email notification
or to compute a reply_to.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
