<form>
                <field name="picking_id" invisible="1" force_save="1"/>
                <field name="company_id" invisible="1"/>
                <field name="product_return_moves">
                    <list editable="bottom" create="1" decoration-warning="not move_id">
                        <field name="move_quantity" column_invisible="1"/>
                        <field name="product_id" force_save="1"/>
                        <field name="quantity" decoration-danger="move_quantity &lt; quantity"/>
                        <field name="uom_id" groups="uom.group_uom"/>
                        <field name="move_id" column_invisible="True"/>
                    </list>
                </field>
                <footer>
                    <button name="action_create_returns" string="Return" type="object" class="btn-primary" data-hotkey="q"/>
                    <button name="action_create_returns_all" string="Return All" type="object" class="btn-primary"/>
                    <button name="action_create_exchanges" string="Return for Exchange" invisible="picking_type_code not in ('incoming', 'outgoing')" type="object" class="btn-primary"/>
                    <button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
                </footer>
            </form>