<?xml version="1.0" encoding="utf-8" ?>
<!--
    Copyright 2023 Camptocamp SA (https://www.camptocamp.com).
    @author Iván Todorovich <ivan.todorovich@camptocamp.com>
    License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>

    <record id="view_server_action_form_template" model="ir.ui.view">
        <field name="model">ir.actions.server</field>
        <field name="inherit_id" ref="mail.view_server_action_form_template" />
        <field name="arch" type="xml">
            <field name="activity_user_id" position="after">
                <field
                    name="activity_team_id"
                    attrs="{'invisible': [('activity_user_type', '!=', 'specific')]}"
                />
            </field>
        </field>
    </record>

</odoo>
