summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-03-14 12:32:31 +0000
committerNans Lefebvre <len@odoo.com>2019-03-14 12:50:51 +0000
commita26496b6e79153212973c55f20431df82c3d827b (patch)
treeec0bd27204ed726a4d803f2f56701b0a6925b063 /addons/web/static/src/js/views/basic/basic_model.js
parentc68a97a255b86af03625bdfc9697e7199efa35e8 (diff)
[FIX] mail: set message_main_attachment_id when the attachment is added via widget
Create a record. Add an attachment, using the widget (aptly named 'add an attachment'). It is not set as message_main_attachment_id. If you add the message through 'log note', then it is. We add a hook to make sure that it is set as message_main_attachment_id when added through the widget. opw 1950403 closes odoo/odoo#31847 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions