<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="us_ks_view_company_form" model="ir.ui.view">
            <field name="name">res.company.form</field>
            <field name="model">res.company</field>
            <field name="priority">20</field>
            <field name="inherit_id" ref="base.view_company_form"/>
            <field name="arch" type="xml">
            <data>
                 <xpath expr="//field[@name='currency_id']" position="after">
                    <field name="ks_unemp_rate_2018"/>
                 </xpath>
            </data>
            </field>
        </record>

         <record id="hr_contract_form_l10n_us_ks_inherit" model="ir.ui.view">
            <field name="name">hr.contract.form.inherit</field>
            <field name="model">hr.contract</field>
            <field name="priority">147</field>
            <field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
            <field name="arch" type="xml">
            <data>
                <xpath expr="//group[@name='state_filing']" position="inside">
                    <group string="Kansas" name="ks">
                        <field name="ks_k4_filing_status"/>
                        <field name="ks_k4_allowances" string="K-4 Allowances"/>
                        <field name="ks_additional_withholding" string="Additional Withholding"/>
                    </group>
                </xpath>
            </data>
            </field>
        </record>
    </data>
</odoo>
