<?xml version="1.0"?>
<form string="Share Project">
                <field name="res_model" invisible="1"/>
                <field name="res_id" invisible="1"/>
                <field name="display_access_mode" invisible="1"/>
                <p class="alert alert-warning" attrs="{'invisible': [('access_warning', '=', '')]}" role="alert"><field name="access_warning"/></p>
                <group attrs="{'invisible': [('display_access_mode', '=', False)]}">
                    <field class="flex-row" name="access_mode" widget="radio"/>
                </group>
                <group name="share_link" attrs="{'invisible': [('access_mode', '=', 'edit')]}">
                    <field name="share_link" widget="CopyClipboardChar" options="{'string': 'Copy Link'}"/>
                </group>
                <group>
                    <div class="o_td_label">
                        <label for="partner_ids" string="Invite People" attrs="{'invisible': [('access_mode', '=', 'read')]}"/>
                        <label for="partner_ids" attrs="{'invisible': [('access_mode', '=', 'edit')]}"/>
                    </div>
                    <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to share the project..." nolabel="1" context="{'show_email': True}"/>
                </group>
                <group>
                    <field name="note" placeholder="Add a note" nolabel="1" colspan="2"/>
                </group>
                <footer>
                    <button string="Send" name="action_send_mail" attrs="{'invisible': [('access_warning', '!=', '')]}" type="object" class="btn-primary" data-hotkey="q"/>
                    <button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
                </footer>
            </form>
        