<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="0">
        <!-- Casual leave -->
        <record id="holiday_status_cl" model="hr.leave.type">
            <field name="name" eval="'Legal Leaves '+time.strftime('%Y')"/>
            <field name="allocation_type">fixed</field>
            <field name="color_name">black</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
            <field name="validity_stop" eval="time.strftime('%Y-12-31')"/>
        </record>

        <!-- Sick leave -->
        <record id="holiday_status_sl" model="hr.leave.type">
            <field name="name">Sick Leaves</field>
            <field name="allocation_type">no</field>
            <field name="color_name">red</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
        </record>

        <!-- Compensatory Days -->
        <record id="holiday_status_comp" model="hr.leave.type">
            <field name="name">Compensatory Days</field>
            <field name="allocation_type">fixed_allocation</field>
            <field name="request_unit">hour</field>
            <field name="color_name">lavender</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
            <field name="validity_stop" eval="time.strftime('%Y-12-31')"/>
        </record>

        <!--Unpaid Leave -->
        <record id="holiday_status_unpaid" model="hr.leave.type">
            <field name="name">Unpaid</field>
            <field name="allocation_type">fixed_allocation</field>
            <field name="validation_type">both</field>
            <field name="color_name">brown</field>
            <field name="unpaid" eval="True"/>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
        </record>
    </data>
</odoo>
<commit_msg>[FIX] hr_holidays: set leave types as noupdate<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">
        <!-- Casual leave -->
        <record id="holiday_status_cl" model="hr.leave.type">
            <field name="name" eval="'Legal Leaves '+time.strftime('%Y')"/>
            <field name="allocation_type">fixed</field>
            <field name="color_name">black</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
            <field name="validity_stop" eval="time.strftime('%Y-12-31')"/>
        </record>

        <!-- Sick leave -->
        <record id="holiday_status_sl" model="hr.leave.type">
            <field name="name">Sick Leaves</field>
            <field name="allocation_type">no</field>
            <field name="color_name">red</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
        </record>

        <!-- Compensatory Days -->
        <record id="holiday_status_comp" model="hr.leave.type">
            <field name="name">Compensatory Days</field>
            <field name="allocation_type">fixed_allocation</field>
            <field name="request_unit">hour</field>
            <field name="color_name">lavender</field>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
            <field name="validity_stop" eval="time.strftime('%Y-12-31')"/>
        </record>

        <!--Unpaid Leave -->
        <record id="holiday_status_unpaid" model="hr.leave.type">
            <field name="name">Unpaid</field>
            <field name="allocation_type">fixed_allocation</field>
            <field name="validation_type">both</field>
            <field name="color_name">brown</field>
            <field name="unpaid" eval="True"/>
            <field name="validity_start" eval="time.strftime('%Y-01-01')"/>
        </record>
    </data>
</odoo>

{'fraction_non_alphanumeric': 0.1831061213579257, 'fraction_numerical': 0.014969259556268377, 'mean_word_length': 2.546919431279621, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 2, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5385609', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1148, 'n_words': 178}