<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">
        
        <!-- Usuario Recepcionista -->
        <record id="demo_user_receptionist" model="res.users">
            <field name="name">Recepcionista Demo</field>
            <field name="login">recepcionista</field>
            <field name="password">demo</field>
            <field name="email">recepcionista@example.com</field>
            <field name="groups_id" eval="[(6, 0, [ref('lims_management.group_lims_receptionist'), ref('base.group_user')])]"/>
            <field name="company_ids" eval="[(4, ref('base.main_company'))]"/>
            <field name="company_id" ref="base.main_company"/>
        </record>
        
        <!-- Usuario Técnico -->
        <record id="demo_user_technician" model="res.users">
            <field name="name">Técnico Demo</field>
            <field name="login">tecnico</field>
            <field name="password">demo</field>
            <field name="email">tecnico@example.com</field>
            <field name="groups_id" eval="[(6, 0, [ref('lims_management.group_lims_technician'), ref('base.group_user')])]"/>
            <field name="company_ids" eval="[(4, ref('base.main_company'))]"/>
            <field name="company_id" ref="base.main_company"/>
        </record>
        
        <!-- Usuario Administrador de Laboratorio -->
        <record id="demo_user_lab_admin" model="res.users">
            <field name="name">Administrador Lab Demo</field>
            <field name="login">administrador</field>
            <field name="password">demo</field>
            <field name="email">administrador@example.com</field>
            <field name="groups_id" eval="[(6, 0, [ref('lims_management.group_lims_admin'), ref('base.group_user')])]"/>
            <field name="company_ids" eval="[(4, ref('base.main_company'))]"/>
            <field name="company_id" ref="base.main_company"/>
        </record>
        
        <!-- Partner (empleado) para cada usuario -->
        <record id="demo_user_receptionist_partner" model="res.partner">
            <field name="name">Recepcionista Demo</field>
            <field name="email">recepcionista@example.com</field>
            <field name="user_id" ref="demo_user_receptionist"/>
            <field name="is_company" eval="False"/>
        </record>
        
        <record id="demo_user_technician_partner" model="res.partner">
            <field name="name">Técnico Demo</field>
            <field name="email">tecnico@example.com</field>
            <field name="user_id" ref="demo_user_technician"/>
            <field name="is_company" eval="False"/>
        </record>
        
        <record id="demo_user_lab_admin_partner" model="res.partner">
            <field name="name">Administrador Lab Demo</field>
            <field name="email">administrador@example.com</field>
            <field name="user_id" ref="demo_user_lab_admin"/>
            <field name="is_company" eval="False"/>
        </record>
        
    </data>
</odoo>