summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-11-09 11:53:51 +0000
committerlen-odoo <len@odoo.com>2018-11-09 13:28:07 +0000
commit5c2f96d0dde378fdb2736b2d67871954ab905434 (patch)
treeb4f0096d2d3f3050a00dc4ea6711340ff3c5390e /addons/web/static/src/js/fields/basic_fields.js
parentac5a1662f2ff1cc2287c1453920c80e78c617c0b (diff)
[FIX] mail: create attachments on the correct record when using the popup editor
Send a message using the popup editor. Drag and drop an image into the message content. It will create an attachment for the inlined image. However it did give a res_model value of mail.message but no res_id; add_missing_default_value would fill in the res_id from the _context, which is not the mail_message but the current object on which it applies (e.g. helpdesk.ticket). We put the correct res_model along with the res_id. opw 1903194 closes odoo/odoo#28526
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions