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
24 lines
1000 B
XML
24 lines
1000 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_numbers" name="Numbers">
|
|
<div class="s_numbers o_mail_snippet_general o_cc o_cc1">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-4 pt24 pb24 o_cc o_cc2" style="text-align: center;">
|
|
<span style="font-size: 48px;">12</span>
|
|
<p>Useful options</p>
|
|
</div>
|
|
<div class="col-lg-4 pt24 pb24 o_cc o_cc4" style="text-align: center;">
|
|
<span style="font-size: 48px;">45</span>
|
|
<p>Beautiful snippets</p>
|
|
</div>
|
|
<div class="col-lg-4 pt24 pb24 o_cc o_cc2" style="text-align: center;">
|
|
<span style="font-size: 48px;">8</span>
|
|
<p>Amazing pages</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</odoo>
|