<odoo>

    <record id="po_backorder_report_view" model="ir.ui.view">
        <field name="name">PO Backorder Report Wizard</field>
        <field name="model">pobackorder.report.wizard</field>
        <field name="arch" type="xml">
            <form>
                <footer>
                    <button
                        type="object"
                        name="action_print_report"
                        string="Print Report"
                        class="btn-primary"
                    />
                    <button string="Cancel" class="btn-default" special="cancel" />
                </footer>
            </form>
        </field>
    </record>

    <record id="action_po_backorder_wizard" model="ir.actions.act_window">
        <field name="name">Generate PO Backorder Report</field>
        <field name="res_model">pobackorder.report.wizard</field>
        <field name="type">ir.actions.act_window</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="po_backorder_report_view" />
        <field name="target">new</field>
    </record>

    <menuitem
        id="menu_po_backorder_report"
        action="action_po_backorder_wizard"
        parent="purchase.menu_procurement_management"
        sequence="12"
    />

</odoo>
