<?xml version="1.0"?>
<form string="Merge Leads/Opportunities">
                    <group string="Assign opportunities to">
                        <field name="user_id" class="oe_inline" widget="many2one_avatar_user" domain="[('share', '=', False)]"/>
                        <field name="team_id" class="oe_inline" context="{'kanban_view_ref': 'sales_team.crm_team_view_kanban'}"/>
                    </group>
                    <field name="opportunity_ids" nolabel="1">
                        <list>
                            <field name="create_date"/>
                            <field name="name"/>
                            <field name="type" optional="hide"/>
                            <field name="contact_name" optional="show"/>
                            <field name="email_from" optional="show"/>
                            <field name="phone" class="o_force_ltr" optional="hide"/>
                            <field name="stage_id"/>
                            <field name="user_id" widget="many2one_avatar_user"/>
                            <field name="team_id" optional="hide"/>
                        </list>
                    </field>
                    <footer>
                        <button name="action_merge" type="object" string="Merge" class="btn-primary" data-hotkey="q"/>
                        <button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
                    </footer>
                </form>
            