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

    <record id="view_hr_payslip_by_employees" model="ir.ui.view">
        <field name="name">hr_payroll_payslip_employees</field>
        <field name="model">hr.payslip.employees</field>
        <field name="inherit_id" ref="payroll.view_hr_payslip_by_employees" />
        <field name="arch" type="xml">
            <field name="employee_ids" position="before">
                <field name="company_id" groups="base.group_multi_company" />
                <field name="schedule_pay" />
                <field
                    name="employee_ids"
                    nolabel="1"
                    groups="!base.group_multi_company"
                    colspan="2"
                />
            </field>
            <field name="employee_ids" position="attributes">
                <attribute name="colspan">2</attribute>
                <attribute name="domain">[
                    ('company_id', '=', company_id)
                ]</attribute>
                <attribute name="groups">base.group_multi_company</attribute>
            </field>
        </field>
    </record>

</odoo>
