<odoo noupdate="1">
    <record id="project_project_1" model="project.project">
        <field name="name">General equipment project</field>
        <field name="user_id" ref="base.user_admin" />
    </record>
    <record id="project_task_11" model="project.task">
        <field name="user_ids" eval="[(4, ref('base.user_admin'))]" />
        <field name="project_id" ref="maintenance_project.project_project_1" />
        <field name="name">General task</field>
    </record>
    <record id="project_task_12" model="project.task">
        <field name="user_ids" eval="[(4, ref('base.user_admin'))]" />
        <field name="project_id" ref="maintenance_project.project_project_1" />
        <field name="name">Default preventive task</field>
    </record>
    <record id="equipment_1" model="maintenance.equipment">
        <field name="name">Generic Monitor</field>
        <field name="category_id" ref="maintenance.equipment_monitor" />
        <field name="owner_user_id" ref="base.user_admin" />
        <field name="technician_user_id" ref="base.user_admin" />
        <field name="assign_date" eval="time.strftime('%Y-%m-10')" />
        <field name="serial_no">S/N 1</field>
        <field name="model">MODEL1</field>
        <field name="project_id" ref="maintenance_project.project_project_1" />
    </record>
    <record id="equipment_2" model="maintenance.equipment">
        <field name="name">Generic Monitor with preventive</field>
        <field name="category_id" ref="maintenance.equipment_monitor" />
        <field name="owner_user_id" ref="base.user_admin" />
        <field name="technician_user_id" ref="base.user_admin" />
        <field
            name="maintenance_team_id"
            ref="maintenance.equipment_team_maintenance"
        />
        <field name="assign_date" eval="time.strftime('%Y-%m-10')" />
        <field name="serial_no">S/N 2</field>
        <field name="model">MODEL2</field>
        <field name="project_id" ref="maintenance_project.project_project_1" />
        <field name="period" eval="30" />
        <field name="maintenance_duration" eval="2" />
        <field
            name="preventive_default_task_id"
            ref="maintenance_project.project_task_12"
        />
    </record>
    <record id="equipment_3" model="maintenance.equipment">
        <field name="name">Generic Computer with own project</field>
        <field name="category_id" ref="maintenance.equipment_computer" />
        <field name="owner_user_id" ref="base.user_admin" />
        <field name="technician_user_id" ref="base.user_admin" />
        <field name="assign_date" eval="time.strftime('%Y-%m-10')" />
        <field name="serial_no">S/N 3</field>
        <field name="model">MODEL3</field>
    </record>
    <function
        model="maintenance.equipment"
        name="action_create_project"
        eval="[[ref('equipment_3')]]"
    />
</odoo>
