<?xml version="1.0"?>
<form string="Meetings" js_class="calendar_quick_create_form_view">
                <sheet>
                    <field name="recurrence_update" invisible="1"/>
                    <field name="videocall_source" invisible="1"/>
                    <field name="access_token" invisible="1" force_save="1"/>
                    <field name="access_token" invisible="1"/>
                    <field name="invalid_email_partner_ids" invisible="1"/> <!-- this field will be used in
                        many2many_attendees widget -->
                    <div class="o_row">
                        <h1 class="w-100"><field name="name" nolabel="1" placeholder="Add title" colspan="2"/></h1>
                    </div>
                    <group>
                        <!--when "stop" is set manually, "duration" is computed. When "start" is changed
                        "stop" is computed based on the previously-computed "duration". Hence we need to
                        keep the last computed duration in the front-end model and send it with "start"
                        when it changes-->
                        <field name="duration" invisible="1" force_save="1"/>
                        <field name="start_date" widget="daterange" options="{'end_date_field': 'stop_date'}" invisible="not allday" required="allday"/>
                        <field name="start" widget="daterange" options="{'end_date_field': 'stop'}" invisible="allday" required="not allday"/>
                        <field name="stop_date" invisible="1"/>
                        <field name="stop" invisible="1"/>
                        <field name="allday"/>
                        <field name="partner_ids" widget="many2manyattendee" placeholder="Add attendees..." options="{'no_quick_create': True}" context="{'form_view_ref': 'base.view_partner_simple_form'}" class="oe_inline"/>
                        <label for="videocall_location" class="opacity-100"/>
                        <div col="2">
                            <field name="videocall_location" string="Videocall URL" widget="CopyClipboardChar" force_save="1" readonly="videocall_source == 'discuss'"/>
                            <button name="clear_videocall_location" type="object" class="btn btn-link p-0" invisible="not videocall_location" context="{'recurrence_update': recurrence_update}">
                                <span class="fa fa-times"/><span> Clear meeting</span>
                            </button>
                            <button name="set_discuss_videocall_location" type="object" class="btn btn-link p-0" invisible="videocall_location" context="{'recurrence_update': recurrence_update}">
                                <span class="fa fa-plus"/> <span>Odoo meeting</span>
                            </button>
                            <button name="action_join_video_call" class="btn btn-link" help="Join Video Call" type="object" invisible="not videocall_location">
                                <span class="oi oi-arrow-right"/><span> Join video call</span>
                            </button>
                        </div>
                        <field name="description" placeholder="Describe your meeting"/>
                    </group>
                </sheet>
            </form>
        