<?xml version="1.0"?>
<form string="Cancel quotations">
                <field name="sale_order_ids" invisible="1"/>
                <field name="sale_orders_count" invisible="1"/>
                <field name="has_confirmed_order" invisible="1"/>
                <div invisible="not has_confirmed_order">
                    <p class="alert alert-warning fw-bold" role="alert">
                        Some confirmed orders are selected. Their related documents might be
                        affected by the cancellation.
                    </p>
                </div>
                <div invisible="sale_orders_count &gt; 1">
                    Are you sure you want to cancel the selected item?
                </div>
                <div invisible="sale_orders_count == 1">
                    Are you sure you want to cancel the <field name="sale_orders_count"/> selected
                    items?
                </div>
                <footer>
                    <button class="btn-primary" name="action_mass_cancel" type="object" string="Cancel"/>
                    <button string="Discard" special="cancel"/>
                </footer>
            </form>
        