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

        <record id="view_op_student_form_fees_inherit" model="ir.ui.view">
            <field name="name">op.student.form.fees.inherit</field>
            <field name="model">op.student</field>
            <field name="inherit_id" ref="openeducat_core.view_op_student_form"/>
            <field name="priority" eval="2"/>
            <field name="arch" type="xml">
                <xpath expr="//div[@name='button_box']" position="inside">
                    <button class="btn oe_stat_button" type="object"
                            name="action_view_invoice"
                            style="border-right: 1px solid;"
                            icon="fa-pencil-square-o"
                            groups="openeducat_fees.group_op_fees_admin">
                        <field string="Invoiced" name="total_invoiced" widget="statinfo"/>
                    </button>
                </xpath>
            </field>
        </record>

</odoo>
