summaryrefslogtreecommitdiff
path: root/addons/website_slides/data
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-01 13:39:34 +0000
committerThibault Delavallée <tde@odoo.com>2019-02-11 09:55:05 +0000
commitcbc2de0eb6227f8e86815d403cd7ce9bc55a49b6 (patch)
tree9092e39a2db74d2529666567915392af7e2e9822 /addons/website_slides/data
parent47bb7ef7968cb3c5c11f767df06fcf09333a2b13 (diff)
[IMP] website_slides: add tags and tag groups on channel
Purpose is to be able to filter, search and categorize channels. Notably with eLearning in mind there will be more channels as a channel will also be used to hold lessons. For that purpose we add a model of tag linked to channels. Those tags are organized by groups in order to be able to display them using a menu or a small hierarchy of tags. Displaying a tag group as a specific navigation element is controlled by a specific field. Those models will be used to display a new and improved home page for channels / courses. This commit is linked to task ID 1936153 and PR #30985.
Diffstat (limited to 'addons/website_slides/data')
-rw-r--r--addons/website_slides/data/slide_data.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website_slides/data/slide_data.xml b/addons/website_slides/data/slide_data.xml
index 164ba5957ef..cb2eda5bb3d 100644
--- a/addons/website_slides/data/slide_data.xml
+++ b/addons/website_slides/data/slide_data.xml
@@ -15,5 +15,11 @@
<field name="visibility">invite</field>
<field name="description">Used to publish slides in partner network privately.</field>
</record>
+
+ <record id="slide_channel_tag_group_data_other" model="slide.channel.tag.group">
+ <field name="name">Tags</field>
+ <field name="sequence">20</field>
+ <field name="website_published" eval="True"/>
+ </record>
</data>
</odoo>