Odoo 13 Community:
I'm trying to style an mass mail in Email Marketing and I've included a style tag to import a font:
<style class="o_default_snippet_text">
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
</style>
And it works just fine as I create the mailing, but as soon as I click "save", that tag is stripped.
How do I prevent it from being stripped?
I tried things like:
class MassMailing(models.Model):
_inherit = "mailing.mailing"
body_html = fields.Html(string='Body converted to be send by mail', sanitize_attributes=False, sanitize_tags=False, santitize_style=False)
But to no avail.
Any ideas?