summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2016-12-29 14:26:29 +0100
committerJérome Maes <jem@openerp.com>2016-12-30 17:01:55 +0100
commit2da8460a89fd8eeed66a3af9e9410d5b7afbbe06 (patch)
treebf513b87f3e89f411d6de7524249fa16763cf849
parentfa8561aa497eb785c0889612d5436e9287989b21 (diff)
[IMP] mail: add integrations menuitems, but invisible
This allow modules to plug into mail configuration on channel.
-rw-r--r--addons/mail/views/mail_channel_views.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/mail/views/mail_channel_views.xml b/addons/mail/views/mail_channel_views.xml
index 94edebdbc84..61079a6638a 100644
--- a/addons/mail/views/mail_channel_views.xml
+++ b/addons/mail/views/mail_channel_views.xml
@@ -128,6 +128,7 @@
</tree>
</field>
</page>
+ <page string="Integrations" invisible="0" name="mail_channel_integrations"></page>
</notebook>
<div class="oe_chatter" groups="base.group_no_one">
<field name="message_follower_ids" widget="mail_followers"/>
@@ -191,5 +192,15 @@
groups="base.group_user"
sequence="1"/>
+ <!--
+ This menuitem will be activated by integrations modules (like github, twitter, ...). It
+ is a hook to ease other modules to plug into mail.
+ -->
+ <record id="mail.mail_channel_integrations_menu" model="ir.ui.menu">
+ <field name="name">Integrations</field>
+ <field name="parent_id" ref="mail.mail_channel_menu_root_chat"></field>
+ <field name="active" eval="False"></field>
+ </record>
+
</data>
</odoo>