videos, infographics. Some kind of slideshare clone, to summarize. Featuring : - channel management: classify slides (presentations, videos, documents, ...) and tune their access rights for visibility, uploading and downloading - full branding new shiny website module ! - automatic fetch of youtube and google docs information based on URL - statistics: views, likes, interfaced with messaging, ... - embed mechanism to embed slides in other websites Courtesy of RD India, notably Mantavya Gajjar, Ravi Gadhia, Vijay Patel, Pariket Trivedi Courtesy of Use Merge Team, notably Jerome Maes and Richard Mathot Let us not forget our usability testing teams that tested it quite a lot of time. Special thanks to Martin Trigaux that did nothing.
43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
|
|
<record id="rule_slide_channel_global" model="ir.rule">
|
|
<field name="name">Channel: restriction by group and visibility</field>
|
|
<field name="model_id" ref="model_slide_channel"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">[
|
|
'|',
|
|
('visibility', 'in', ['public', 'partial']),
|
|
'&',
|
|
('group_ids', 'in', [g.id for g in user.groups_id]),
|
|
('visibility', '=', 'private')]</field>
|
|
</record>
|
|
|
|
<record id="rule_slide_channel_public" model="ir.rule">
|
|
<field name="name">Channel: public: published only</field>
|
|
<field name="model_id" ref="model_slide_channel"/>
|
|
<field name="groups" eval="[(4, ref('base.group_public'))]"/>
|
|
<field name="domain_force">[('website_published', '=', True)]</field>
|
|
</record>
|
|
|
|
<record id="rule_slide_slide_global" model="ir.rule">
|
|
<field name="name">Slide: channel-related group restriction</field>
|
|
<field name="model_id" ref="model_slide_slide"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">[
|
|
'|',
|
|
('channel_id.visibility','in', ['public','partial']),
|
|
'&',
|
|
('channel_id.group_ids', 'in', [g.id for g in user.groups_id]),
|
|
('channel_id.visibility', '=', 'private')]</field>
|
|
</record>
|
|
|
|
<record id="rule_slide_slide_public" model="ir.rule">
|
|
<field name="name">Slide: public: published only</field>
|
|
<field name="model_id" ref="model_slide_slide"/>
|
|
<field name="groups" eval="[(4, ref('base.group_public'))]"/>
|
|
<field name="domain_force">[('channel_id.website_published', '=', True), ('website_published', '=', True)]</field>
|
|
</record>
|
|
</data>
|
|
</openerp> |