<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="attendance_session_form_view" model="ir.ui.view">
        <field name="name">op.attendance.sheet.form.inherit</field>
        <field name="model">op.session</field>
        <field name="inherit_id" ref="openeducat_timetable.view_op_session_form"/>
        <field name="arch" type="xml">
            <xpath expr="//div[@name='button_box']" position="inside">
               <button class="btn oe_stat_button" type="object"
                                    name="get_attendance" string="Attendance Sheet"
                                    style="border-right: 1px solid;"
                                    icon="fa-book"
                                    groups="openeducat_attendance.group_op_attendance_manager,openeducat_attendance.group_op_attendance_user"/>
            </xpath>
        </field>
    </record>
</odoo>
