Files
odoo_source/addons/mass_mailing/views/snippets/s_title.xml
T
Elisabeth Dickinson 2815fe0807 [IMP] mass_mailing: remove data-snippet attribute on snippets
We shouldn't add a data-snippet in the declaration of a snippet,
as they are meant to be drag & dropped, the editor/right panel is going
to add that for you. We generally add them when we copy paste a snippet
definition into another view directly in our sources (ie: template)

Ref: https://github.com/odoo/odoo/pull/87059#discussion_r866903584
Part-of: odoo/odoo#95940
2022-08-11 17:56:25 +02:00

13 lines
296 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_title" name="Title">
<div class="s_title o_mail_snippet_general pt32 pb32">
<div class="container s_allow_columns">
<h1 style="text-align:center">Your Title</h1>
</div>
</div>
</template>
</odoo>