summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2021-04-27 11:12:22 +0000
committerNicolas Lempereur <nle@odoo.com>2021-04-28 15:43:07 +0000
commit0e046c03517c7fb7efd671d63f6fbe1c27a46472 (patch)
treeee4e6e80b0caa5c76b827ab3addc2c3584916068 /addons/web/static/src
parentb5588246a0e032c92b8443e67875ff4146858fe8 (diff)
[FIX] mail.py: sanitize do not remove file icon
Scenario: - add a file in mass mailing editor => an icon is added linking the file - save - edit => the icon is replaced by a generic icon - save - send mail => no icon is shown in email received The system is using eg. `data-mimetype="pdf"` to show the icon, before 12.0 this worked but in saas-12.3 the system uses mailing.mailing body_arch's field that is sanitizing attributes and remove it on save, so the icon is only working in received email if you save one and only one time after adding file inside the mass mailing. opw-2474053 (ticket for similar issue in 14.0) closes odoo/odoo#70046 X-original-commit: 7e14515b84d8081557517df7e9dc7d8c0d17f2be Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions