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

    <record id="view_account_move_form_inherit_repair" model="ir.ui.view">
        <field name="name">view.account.move.form.inherit.repair</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form"/>
        <field name="arch" type="xml">
            <xpath expr="//div[@name='button_box']" position="inside">
                <button
                    name="action_show_repair"
                    string="Repair Order"
                    type="object"
                    class="oe_stat_button"
                    icon="fa-wrench"
                    invisible="not repair_order_id"
                    groups="stock.group_stock_user"
                />
            </xpath>
        </field>
    </record>

</odoo>
