<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <!-- Inherited -->
    <record id="view_hr_payslip_form_inherit" model="ir.ui.view">
        <field name="name">hr.payslip.form.inherit</field>
        <field name="model">hr.payslip</field>
        <field name="inherit_id" ref="hr_payroll.view_hr_payslip_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='contract_id']" position="after">
                <field name="contract_wc_code_id" readonly="1"/>
            </xpath>
        </field>
    </record>
</odoo>