odoo/upgrade-util#58

Created by Website, Benoit Socias (bso)

Blocked

label
odoo-dev:master-map_shapes-bso
head
a7116ab3c0d2ded51c97ebe1081cdb55d6712b46
odoo/upgrade odoo/upgrade-util
master #5808 missing r+ #58 missing r+

[FIX] util/snippets: generate HTML instead of XML for mailing.mailing

The convert_html_content tool writes XML values if a change happened. This is a problem for the fields of mailing.mailing because they strictly expect HTML content.
E.g. if <img src="..."> becomes <img src="..."/>, the wysiwyg editor displays an empty template instead of the actual content.

This commit avoids this by making the writes to the fields of mailing.mailing formatted in HTML.

task-3797854