Purpose of this merge is to polish a bit this module before turning it into "courses" (see task #1902304 for more details on this) Contains * split python model into separate main files to ease models understanding; * split views into separate main files to ease views finding; * rename files according to guidelines; * merge templates in the same file to have all available at hand; * move assets in their own file in order to remove noise from templates; * Split javascript widgets into their own separate files No functional behavior change should occur with this commit. Only move has been performed. Note that we might lose part of the history as splitting files creates a new history for new files. Task: #1909281 Closes: #28679
27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record model="slide.channel" id="channel_public">
|
|
<field name="name">Public Channel</field>
|
|
<field name="promote_strategy">most_viewed</field>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="visibility">public</field>
|
|
<field name="description">Default channel for slides, all public users can access content of this channel.</field>
|
|
</record>
|
|
<record model="slide.channel" id="channel_partial">
|
|
<field name="name">Partner Channel</field>
|
|
<field name="website_published" eval="True"/>
|
|
<field name="group_ids" eval="[(4, ref('base.group_portal')), (4, ref('base.group_user'))]"/>
|
|
<field name="upload_group_ids" eval="[(4, ref('base.group_user'))]"/>
|
|
<field name="visibility">partial</field>
|
|
<field name="description">Used to publish slides in partner network privately.</field>
|
|
</record>
|
|
<record model="slide.channel" id="channel_private">
|
|
<field name="name">Employee Channel</field>
|
|
<field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
|
|
<field name="visibility">private</field>
|
|
<field name="description">Used to publish internal slides of company.</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|