diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-10-08 15:07:51 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-14 16:30:56 +0000 |
| commit | 787316cfec4b714c630f1420d79c58e22b9a9858 (patch) | |
| tree | 74dbf1fa32d73c9087701fa392e57b05df611421 /addons/mail/static/src/js/thread_widget.js | |
| parent | d133df581964b0dab95eb92d8fd79227488b79de (diff) | |
[FIX] mail: deletable attachments in attachment box
Revision on https://github.com/odoo/odoo/commit/e7aff236b8073b952a0e554d9897a8f88d5c4c91
Commit above remove cross icon on attachments from messages that are
not in the chatter, since this only makes sense in the chatter.
However, it also removed by mistake the possibility to delete
attachments from the attachment box in the chatter.
This happens because the template of attachments uses a newly
introduced contextual boolean `isDeletable`, and this is false by
default due to undefined being falsy.
This commit fixes the issue by explicitly enabling deletion of
attachments from the attachment box.
Task-Id 2081987
closes #38003
X-original-commit: 1a175686d493d9f289cf391b65a56adc80da82c2
Diffstat (limited to 'addons/mail/static/src/js/thread_widget.js')
0 files changed, 0 insertions, 0 deletions
