<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_run_mrp_multi_level_wizard" model="ir.ui.view">
        <field name="name">Run MRP</field>
        <field name="model">mrp.multi.level</field>
        <field name="arch" type="xml">
            <form string="Run MRP Multi Level">
                <group>
                    <field
                        name="mrp_area_ids"
                        widget="many2many_tags"
                        options="{'no_create': True}"
                    />
                </group>
                <footer>
                    <button
                        name="run_mrp_multi_level"
                        string="Run MRP"
                        type="object"
                        class="oe_highlight"
                    />
                    <button string="Cancel" class="oe_link" special="cancel" />
                </footer>
            </form>
        </field>
    </record>

    <record id="action_mrp_multi_level" model="ir.actions.act_window">
        <field name="name">Run MRP</field>
        <field name="res_model">mrp.multi.level</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
        <field name="binding_model_id" ref="model_mrp_multi_level" />
    </record>

</odoo>
