<!-- Inherit Form View to Modify it -->
<odoo>
    <record id="view_employee_form_timehseet_block" model="ir.ui.view">
        <field name="name">hr.employee.timesheet.block.inherit</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form"/>
        <field name="arch" type="xml">

            <xpath expr="//page[@name='personal_information']" position="after">
                <page name="'timehseet_block" string="Timesheet Block">
                    <group groups="hr.group_hr_manager">
                        <group>
                            <field name="allow_to_edit"/>
                        </group>
                        <group>
                            <field name="allow_to_create"/>
                        </group>
                    </group>
                    <button name="%(timesheet_block.action_back_date_assign)d" string="Assign Date"
                            type="action" groups="hr.group_hr_manager"
                            class="oe_highlight"/>
                    <group/>
                    <field name="permission_history" readonly="1">
                        <tree editable="bottom">
                            <field name="date"/>
                            <field name="reason"/>
                            <field name="permission_type"/>
                            <field name="user_id"
                                   options="{'no_create': True, 'no_create_edit':True, 'no_open': True}"/>
                            <field name="employee_id" invisible="1"
                                   options="{'no_create': True, 'no_create_edit':True, 'no_open': True}"/>
                        </tree>
                        <form>
                            <sheet>
                                <group>
                                    <group>
                                        <field name="date"/>
                                        <field name="user_id"
                                               options="{'no_create': True, 'no_create_edit':True, 'no_open': True}"/>
                                    </group>
                                    <group>
                                        <field name="permission_type"/>
                                        <field name="employee_id"
                                               options="{'no_create': True, 'no_create_edit':True, 'no_open': True}"/>
                                    </group>
                                </group>
                                <group>
                                    <field name="reason"/>
                                </group>
                            </sheet>
                        </form>
                    </field>
                </page>
            </xpath>

        </field>
    </record>
</odoo>