<?xml version="1.0"?>
<form string="Resource">
            <sheet>
                <field name="active" invisible="1"/>
                <field name="company_id" invisible="1"/>
                <widget name="web_ribbon" title="Archived" bg_color="text-bg-danger" invisible="active"/>
                <group>
                    <group name="user_details">
                        <field name="name"/>
                        <field name="user_id" invisible="resource_type == 'material'" required="resource_type == 'user'"/>
                        <field name="resource_type"/>
                    </group>
                    <group name="resource_details">
                        <field name="company_id" options="{'no_create': True}" groups="base.group_multi_company" placeholder="Visible to all"/>
                        <field name="calendar_id" placeholder="Fully Flexible"/>
                        <field name="tz"/>
                        <field name="time_efficiency"/>
                    </group>
                </group>
            </sheet>
            </form>
        