diff options
| author | len-odoo <len@odoo.com> | 2018-11-09 12:09:48 +0000 |
|---|---|---|
| committer | len-odoo <len@odoo.com> | 2018-11-09 12:09:51 +0000 |
| commit | c0f66d6c2dceda0ff0073dccce08af961e858672 (patch) | |
| tree | e380469284db247bf155eb35bb6901c2c9c97e15 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 5c2f96d0dde378fdb2736b2d67871954ab905434 (diff) | |
[FIX] mail: create attachments with the correct filename 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.
To generate the values for the attachment, a regex is used to parse the content.
Besides summoning Eldritch abominations, it didnt't take into account the
original filename, whereas the default one (image) would have no extension.
We extend the regex to capture the filename and use it.
opw 1903194
closes odoo/odoo#28527
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
