Skip to content
Snippets Groups Projects
Commit 7c566661 authored by xO-Tx's avatar xO-Tx Committed by qsm-odoo
Browse files

[FIX] tools: keep image option related attributes


- Change an image option in mass mailing editor (e.g. Quality)
- save
- edit -> The option can't get the new applied value.

The body_arch's field used in mass mailing editor is
sanitizing attributes and as a consequence, option related data
attrs are removed on save.

task-2327045

closes odoo/odoo#72008

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 2e2e588e
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ safe_attrs = clean.defs.safe_attrs | frozenset(
'data-o-mail-quote', # quote detection
'data-oe-model', 'data-oe-id', 'data-oe-field', 'data-oe-type', 'data-oe-expression', 'data-oe-translation-id', 'data-oe-nodeid',
'data-publish', 'data-id', 'data-res_id', 'data-interval', 'data-member_id', 'data-scroll-background-ratio', 'data-view-id',
'data-class', 'data-mimetype',
'data-class', 'data-mimetype', 'data-original-src', 'data-original-id', 'data-gl-filter', 'data-quality', 'data-resize-width',
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment