summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorThanh Dodeur <tso@odoo.com>2021-02-11 10:48:00 +0000
committerThanh Dodeur <tso@odoo.com>2021-02-11 10:48:00 +0000
commit156f35de1bafd5982812bc216a9daf3405a9b724 (patch)
tree5401c0b896e31d167c1b97ba09353daa876a1074 /addons/web/static/src/js/views/basic/basic_view.js
parent2558768aadc1ab80443472ae9911b39f0b818d95 (diff)
[FIX] mail: prevent traceback on attachment unlink
Due to asynchronous rendering, the attachment template can be rendered when its attachment is undefined, this was causing an issue with an unguarded getter call that was attempting to access the attachment. This commit fixes this issue. opw-2457983 closes odoo/odoo#65944 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions