diff options
| author | Thibault Francois <tfr@openerp.com> | 2020-02-06 15:32:25 +0000 |
|---|---|---|
| committer | Thibault Francois <tfr@openerp.com> | 2020-02-14 10:15:12 +0000 |
| commit | ed3e0b51ad7f4d5a948f37641f3d9a46421cb426 (patch) | |
| tree | 1de6d9e380fb12eeed22be84053aaa900fa7037a /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 028774fd355e324405ce8b83a6481bee5753b740 (diff) | |
[FIX] mail: don't raise access error on register_as_main_attachment
When you read a record with the document viewer on the right side
that you don't have write access to this record
and the message_main_attachment_id was not yet set on the record
the document viewer try to set a value for message_main_attachment_id
that raise an access error
Set the value is not important but the popup
Access error can be really annoying
closes odoo/odoo#45378
X-original-commit: 74c36e6bc59af241ea162f042015f637880f1911
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
