<?xml version="1.0"?>
<form string="Replenish wizard">
                <p>
                Use this assistant to replenish your stock.
                Depending on your product configuration, launching a replenishment may trigger a request for quotation,
                a manufacturing order or a transfer.
                </p>
                <group>
                    <field name="product_tmpl_id" invisible="1"/>
                    <field name="product_has_variants" invisible="1"/>
                    <field name="product_id" domain="[('product_tmpl_id', '=', product_tmpl_id)]" attrs="{'readonly': [('product_has_variants', '=', False)]}" options="{'no_create_edit':1}"/>
                    <field name="product_uom_category_id" invisible="1"/>
                    <label for="quantity"/>
                    <div class="o_row">
                        <field name="quantity"/>
                        <field name="product_uom_id" domain="[('category_id', '=', product_uom_category_id)]" groups="uom.group_uom"/>
                    </div>
                    <field name="date_planned"/>
                    <field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
                    <field name="route_ids" widget="many2many_tags"/>
                    <field name="company_id" invisible="1"/>
                </group>
                <footer>
                    <button name="launch_replenishment" string="Confirm" type="object" data-hotkey="q" class="btn-primary"/>
                    <button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
                </footer>
            </form>
        