<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <!-- Valid certification -->
        <record id="resume_line_valid" model="hr.resume.line">
            <field name="name">AWS Cloud</field>
            <field name="line_type_id" ref="resume_type_certification"/>
            <field name="date_start" eval="DateTime.today() + relativedelta(years=-1, months=-2, days=-13)"/>
            <field name="date_end" eval="DateTime.today() + relativedelta(years=1)"/>
            <field name="employee_id" ref="hr.employee_admin"/>
        </record>

        <!-- Expiring soon certification -->
        <record id="resume_line_expiring" model="hr.resume.line">
            <field name="name">MongoDB Developer</field>
            <field name="line_type_id" ref="resume_type_certification"/>
            <field name="date_start" eval="DateTime.today() + relativedelta(years=-1)"/>
            <field name="date_end" eval="DateTime.today() + relativedelta(months=2)"/>
            <field name="employee_id" ref="hr.employee_admin"/>
        </record>

        <!-- Expired -->
        <record id="resume_line_aws" model="hr.resume.line">
            <field name="name">Oracle DB</field>
            <field name="line_type_id" ref="resume_type_certification"/>
            <field name="date_start" eval="DateTime.today() + relativedelta(years=-1, months=-6, days=-7)"/>
            <field name="date_end" eval="DateTime.today() + relativedelta(days=-3)"/>
            <field name="employee_id" ref="hr.employee_admin"/>
        </record>
    </data>
</odoo>
