diff options
| author | Varun Raval <var@odoo.com> | 2019-05-06 11:31:42 +0000 |
|---|---|---|
| committer | Varun Raval <var@odoo.com> | 2019-05-16 05:28:36 +0000 |
| commit | dece93d5bec5a9d331c8f4d6b1af6423a4009ca4 (patch) | |
| tree | 5a1a76e15d1bf66389e7ab1c6cbea24f1628a663 | |
| parent | e71f954da3a3b29f2b89e02b56419de43e13952c (diff) | |
[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>
| -rw-r--r-- | addons/mail/views/mail_channel_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/views/mail_channel_views.xml b/addons/mail/views/mail_channel_views.xml index d37b5f206c4..4da8231e3e9 100644 --- a/addons/mail/views/mail_channel_views.xml +++ b/addons/mail/views/mail_channel_views.xml @@ -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"/> |
