[IMP] mail: hide integrations tab if no integrations are available

When we're on a channel, we can see the "Integration" tab even if integrations
are not available. So now whenever any integrations are available then only the
"Integrations" tab will be shown otherwise it will be hidden.

task-1973976
closes #33184

Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
This commit is contained in:
Varun Raval
2019-05-16 05:28:36 +00:00
parent e71f954da3
commit dece93d5be
+1 -1
View File
@@ -148,7 +148,7 @@
<field name="moderation_guidelines_msg" attrs="{'invisible':[('moderation_guidelines', '=', False)]}"/>
</group>
</page>
<page string="Integrations" invisible="0" name="mail_channel_integrations"></page>
<page string="Integrations" invisible="1" name="mail_channel_integrations"></page>
</notebook>
<div class="oe_chatter" groups="base.group_no_one">
<field name="message_follower_ids" widget="mail_followers"/>