summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-04-02 13:48:18 +0000
committerNans Lefebvre <len@odoo.com>2019-04-05 13:42:39 +0000
commitc791981abc1906e25112b5b647445e1a944f948c (patch)
treedd4be9e5df46a988658747770e63096caa13dbaf /addons/web/static/src/js/fields
parentc89b8451c2cce46c2233887165e30fff4b8f0186 (diff)
[FIX] mail: only register as main attachment if main not already set
Commit a26496b6e79 registered an attachment added through the widget as record's message_main_attachment. This to make the OCR feature available for such attachments. However we copy more closely the behaviour in message_post, which only puts the attachment as main if there isn't already a main. opw 1950403
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions