<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>

<!-- CONTRIBUTION REGISTERS -->
    <record id="res_partner_ksdor_unemp" model="res.partner">
            <field name="name">Kansas Department of Revenue - Unemployment Insurance Tax</field>
            <field name="supplier">1</field>
            <field eval="0" name="customer"/>
    </record>
    <record id="res_partner_ksdor_withhold" model="res.partner">
        <field name="name">Kansas Department of Revenue - Income Tax Withholding</field>
        <field name="supplier">1</field>
        <field eval="0" name="customer"/>
    </record>

    <record id="contrib_register_ksdor_unemp" model="hr.contribution.register">
        <field name="name">Kansas Unemployment Insurance Tax</field>
        <field name="note">Kansas Department of Revenue - Unemployment Insurance Tax</field>
        <field name="partner_id" ref="res_partner_ksdor_unemp"/>
    </record>
    <record id="contrib_register_ksdor_withhold" model="hr.contribution.register">
        <field name="name">Kansas Income Tax Withholding</field>
        <field name="note">Kansas Department of Revenue - Income Tax Withholding</field>
        <field name="partner_id" ref="res_partner_ksdor_withhold"/>
    </record>


<!-- HR SALARY RULE CATEGORIES-->
    <record id="hr_payroll_ks_unemp_wages" model="hr.salary.rule.category">
        <field name="name">Kansas Unemployment Insurance Tax  - Wages</field>
        <field name="code">KS_UNEMP_WAGES</field>
    </record>

    <record id="hr_payroll_ks_unemp" model="hr.salary.rule.category">
        <field name="name">Kansas Unemployment Insurance Tax</field>
        <field name="code">KS_UNEMP</field>
        <field name="parent_id" ref="hr_payroll.COMP"/>
    </record>

    <record id="hr_payroll_ks_income_withhold" model="hr.salary.rule.category">
            <field name="name">Kansas Income Withholding</field>
            <field name="code">KS_WITHHOLD</field>
            <field name="parent_id" ref="hr_payroll.DED"/>
    </record>

    </data>
</odoo>
