<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_hr_job_form_inherit" model="ir.ui.view">
        <field name="name">hr.job.form.inherit</field>
        <field name="model">hr.job</field>
        <field name="inherit_id" ref="hr.view_hr_job_form"/>
        <field name="arch" type="xml">
            <xpath expr="//sheet/div[@name='button_box']" position="inside">
                <field name="company_currency" invisible="1"/>
                <button name="%(hr_expense.hr_expense_actions_all)d" class="oe_stat_button" icon="fa-money" type="action" context="{'search_default_job_id': active_id}">
                    <div class="o_stat_info">
                        <field name="expense_total_amount" widget="monetary" nolabel="1" options="{'currency_field': 'company_currency'}"/>
                        <span class="o_stat_text"> Expenses</span>
                    </div>
                </button>
            </xpath>
        </field>
    </record>
</odoo>