<?xml version="1.0"?>
<form string="Mail Channel Form">
                    <sheet>
                        <div class="oe_button_box" name="button_box"/>
                        <field name="avatar_128" invisible="1"/>
                        <field name="image_128" widget="image" class="oe_avatar" options="{'size': [90, 90], 'preview_image':'avatar_128'}"/>
                        <div class="oe_title">
                            <label for="name" string="Group Name"/>
                            <h1>
                                #<field name="name" class="oe_inline" default_focus="1" placeholder="e.g. support" readonly="0"/>
                            </h1>
                        </div>
                        <group class="o_label_nowrap">
                            <field name="active" invisible="1"/>
                            <field name="description" placeholder="Topics discussed in this group..."/>
                        </group>
                        <notebook>
                            <page string="Privacy" name="privacy">
                                <group class="o_label_nowrap">
                                    <field name="group_public_id" attrs="{'invisible': [('channel_type', '!=', 'channel')]}"/>
                                    <field name="group_ids" widget="many2many_tags" attrs="{'invisible': [('channel_type', '!=', 'channel')]}" string="Auto Subscribe Groups"/>
                                </group>
                            </page>
                            <page string="Members" name="members">
                                <field name="channel_type" invisible="1"/>
                                <field name="channel_member_ids" mode="tree" context="{'active_test': False}" attrs="{'readonly': [('channel_type', '=', 'chat')]}">
                                    <tree string="Members" editable="bottom">
                                        <field name="partner_id" required="1" attrs="{'readonly': [('id', '!=', False)]}"/>
                                        <field name="partner_email" readonly="1"/>
                                    </tree>
                                </field>
                            </page>
                            <page string="Integrations" invisible="1" name="mail_channel_integrations"/>
                        </notebook>
                    </sheet>
                </form>
            