summaryrefslogtreecommitdiff
path: root/addons/website_slides_forum/data
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-25 09:13:31 +0000
committerThibault Delavallée <tde@odoo.com>2019-03-04 16:12:57 +0000
commit2f8ea621a87e3b5d72cfc7f9153bc560b1c18f10 (patch)
tree0ce3dba9945ac079a822f78b1c3e4967e5cc58fb /addons/website_slides_forum/data
parente21f185d3c6a3bac3a1a7ba482df4d6cf616a159 (diff)
[IMP] website_slides(_*): improve demo data
Purpose of this commit is to improve eLearning demo data. Notably links (links to external resources on a given slide) and quizzes (allowing to gain karma) are added. Some slides are added. Demo user interaction with eLearning is also added, such as membership and votes. Finally a channel is specifically kept specific to 1 single slide of type certification as its flow has to bypass some screens when selling pure certifications. Commit linked to task ID 1941250 and PR #31453
Diffstat (limited to 'addons/website_slides_forum/data')
-rw-r--r--addons/website_slides_forum/data/slide_channel_demo.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/website_slides_forum/data/slide_channel_demo.xml b/addons/website_slides_forum/data/slide_channel_demo.xml
index 99a21cbd523..3ecdfc9dc47 100644
--- a/addons/website_slides_forum/data/slide_channel_demo.xml
+++ b/addons/website_slides_forum/data/slide_channel_demo.xml
@@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo><data noupdate="0">
- <record id="forum_forum_demo_channel_1" model="forum.forum">
+ <record id="forum_forum_demo_channel_0" model="forum.forum">
<field name="name">Basics of Gardening</field>
</record>
+ <record id="website_slides.channel_public" model="slide.channel">
+ <field name="forum_id" ref="website_slides_forum.forum_forum_demo_channel_0"/>
+ </record>
- <record id="website_slides.slide_channel_demo_1_gard1" model="slide.channel">
- <field name="forum_id" ref="website_slides_forum.forum_forum_demo_channel_1"/>
+ <record id="forum_forum_demo_channel_2" model="forum.forum">
+ <field name="name">Trees, Wood and Gardens</field>
</record>
+ <record id="website_slides.slide_channel_demo_2_gard2" model="slide.channel">
+ <field name="forum_id" ref="website_slides_forum.forum_forum_demo_channel_2"/>
+ </record>
</data></odoo>