Skip to content
Permalink
Browse files

[FIX] website_slides: fix text / html mismatch in demo data

Slide description is actually a text field, no need to put html tags that
are displayed raw.

Commit linked to task ID 1941250 and PR #31133.
  • Loading branch information...
tde-banana-odoo committed Feb 15, 2019
1 parent 0b47c23 commit 8119fa51d59318880002547207d0ea30666f3b1b
@@ -46,7 +46,7 @@
<field name="website_published" eval="True"/>
<field name="is_preview" eval="False"/>
<field name="public_views">10</field>
<field name="description" type="html"><div>Tools you will need to complete this course.</div></field>
<field name="description">Tools you will need to complete this course.</field>
</record>
<record id="slide_slide_demo_6_1" model="slide.slide">
<field name="name">How to find quality wood</field>
@@ -59,7 +59,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">5</field>
<field name="image" type="base64" file="website_sale_slides/static/img/5WMqwTnZ-qs.png"/>
<field name="description" type="html"><div>Learn of to identify quality wood in order to create solid furnitures.</div></field>
<field name="description">Learn of to identify quality wood in order to create solid furnitures.</field>
</record>
<record id="slide_slide_demo_6_2" model="slide.slide">
<field name="name">How to create your own piece of furniture</field>
@@ -72,7 +72,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">0</field>
<field name="image" type="base64" file="website_sale_slides/static/img/ptjeDDoURL8.png"/>
<field name="description" type="html"><div>From a piece of wood to a fully functional furniture, step by step.</div></field>
<field name="description">From a piece of wood to a fully functional furniture, step by step.</field>
</record>
</data>
</odoo>
@@ -12,7 +12,7 @@
<field name="is_preview" eval="True"/>
<field name="public_views">40</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_tools')), (4, ref('website_slides.slide_tag_demo_howto'))]"/>
<field name="description" type="html"><div>A summary of know-how: how and what.</div></field>
<field name="description">A summary of know-how: how and what.</field>
</record>

<record id="slide_slide_demo_1_0" model="slide.slide">
@@ -25,7 +25,7 @@
<field name="is_preview" eval="True"/>
<field name="public_views">5</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_colorfull'))]"/>
<field name="description" type="html"><div>Just some basics Tree Infographic.</div></field>
<field name="description">Just some basics Tree Infographic.</field>
</record>
<record id="slide_slide_demo_1_1" model="slide.slide">
<field name="name">Interesting Tree Facts</field>
@@ -37,7 +37,7 @@
<field name="is_preview" eval="True"/>
<field name="public_views">10</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_colorfull'))]"/>
<field name="description" type="html"><div>Just some basics Interesting Tree Facts.</div></field>
<field name="description">Just some basics Interesting Tree Facts.</field>
</record>
<record id="slide_slide_demo_1_2" model="slide.slide">
<field name="name">Energy Efficiency Facts</field>
@@ -49,7 +49,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">15</field>
<field name="tag_ids" eval="[(5, 0)]"/>
<field name="description" type="html"><div>Just some basics Energy Efficiency Facts.</div></field>
<field name="description">Just some basics Energy Efficiency Facts.</field>
</record>
<record id="slide_slide_demo_1_3" model="slide.slide">
<field name="name">How to plant a potted tree</field>
@@ -63,7 +63,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">0</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_howto'))]"/>
<field name="description" type="html"><div>Jim and Todd plant a potted tree for a customer of Knecht's Nurseries and Landscaping. Narrated by Leif Knecht, owner.</div></field>
<field name="description">Jim and Todd plant a potted tree for a customer of Knecht's Nurseries and Landscaping. Narrated by Leif Knecht, owner.</field>
</record>
<record id="slide_slide_demo_1_4" model="slide.slide">
<field name="name">A little chat with Harry Potted</field>
@@ -110,7 +110,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">5</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_howto'))]"/>
<field name="description" type="html"><div>We had a little chat with Harry Potted, sure he had interesting things to say !</div></field>
<field name="description">We had a little chat with Harry Potted, sure he had interesting things to say !</field>
</record>
<record id="slide_slide_demo_1_5" model="slide.slide">
<field name="name">3 Main Methodologies</field>
@@ -123,7 +123,7 @@
<field name="is_preview" eval="False"/>
<field name="public_views">20</field>
<field name="tag_ids" eval="[(4, ref('website_slides.slide_tag_demo_howto'))]"/>
<field name="description" type="html"><div>A summary of know-how: how and what.</div></field>
<field name="description">A summary of know-how: how and what.</field>
</record>

<record id="slide_slide_demo_5_0" model="slide.slide">

0 comments on commit 8119fa5

Please sign in to comment.
You can’t perform that action at this time.