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

    <record id="mrp_unbuild_form_view" model="ir.ui.view">
        <field name="name">mrp.unbuild.form</field>
        <field name="model">mrp.unbuild</field>
        <field name="inherit_id" ref="mrp.mrp_unbuild_form_view"/>
        <field name="arch" type="xml">
            <xpath expr="//div[hasclass('oe_button_box')]" position="inside">
                <button name="%(action_mrp_uo_account_moves)d" type="action" string="Account Moves"
                        class="oe_stat_button" icon="fa-list" groups="account.group_account_user"
                        attrs="{'invisible': [('state', 'not in', ('done'))]}"/>
            </xpath>
        </field>
    </record>

</odoo>
