<?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="is_editable" invisible="1"/>
                        <field name="image_128" widget="image" class="oe_avatar" options="{'size': [90, 90], 'preview_image':'avatar_128'}" readonly="not is_editable"/>
                        <widget name="web_ribbon" title="Archived" bg_color="text-bg-danger" invisible="active"/>
                        <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="not is_editable"/>
                            </h1>
                        </div>
                        <group class="o_label_nowrap">
                            <field name="active" invisible="1"/>
                            <field name="channel_type" groups="base.group_no_one"/>
                            <field name="description" placeholder="Topics discussed in this group..." readonly="not is_editable"/>
                            <field name="parent_channel_id" groups="base.group_no_one"/>
                            <field name="sub_channel_ids" groups="base.group_no_one"/>
                            <field name="from_message_id" groups="base.group_no_one"/>
                        </group>
                        <group class="o_label_nowrap" groups="base.group_no_one">
                            <field name="sfu_channel_uuid"/>
                            <field name="sfu_server_url"/>
                        </group>
                        <notebook>
                            <page string="Privacy" name="privacy">
                                <group class="o_label_nowrap">
                                    <field name="group_public_id" invisible="channel_type != 'channel' or parent_channel_id" readonly="not is_editable"/>
                                    <field name="group_ids" widget="many2many_tags" invisible="channel_type != 'channel'" string="Auto Subscribe Groups" readonly="not is_editable"/>
                                </group>
                            </page>
                            <page string="Members" name="members">
                                <field name="channel_type" invisible="1"/>
                                <field name="channel_member_ids" mode="list" context="{'active_test': False}" readonly="channel_type == 'chat'">
                                    <list string="Members" editable="bottom">
                                        <field name="partner_id" readonly="id or guest_id" required="not guest_id"/>
                                        <field name="guest_id" readonly="id or partner_id" required="not partner_id"/>
                                    </list>
                                </field>
                            </page>
                            <page string="Integrations" invisible="1" name="discuss_channel_integrations"/>
                        </notebook>
                    </sheet>
                </form>
            