<?xml version="1.0"?>
<form>
                <field name="product_id" invisible="True"/>
                <div>
                    The product is not available in sufficient quantity
                    <span class="oe_inline" groups="stock.group_stock_multi_locations"> in
                        <strong><field name="location_id" readonly="True"/></strong>.
                    </span>
                </div>
                <div attrs="{'invisible': [('quant_ids', '=', [])]}">
                    <br/>
                    <strong>Current Inventory: </strong>
                    <field name="quant_ids" style="margin-top:10px;">
                        <tree>
                            <field name="location_id" options="{'no_create': True}"/>
                            <field name="lot_id" groups="stock.group_production_lot"/>
                            <field name="quantity"/>
                        </tree>
                    </field>
                </div>
                <div name="description">
                </div>
                <footer>
                    <button name="cancel_button" string="Discard" class="btn-primary" special="cancel" data-hotkey="z"/>
                    <button string="Confirm" name="action_done" type="object" class="btn-secondary" data-hotkey="q"/>
                </footer>
            </form>
        