<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Wizard form view for confirming bulk product update -->
    <record id="view_wizard_update_product_category_form" model="ir.ui.view">
        <field name="name">wizard.update.product.category.form</field>
        <field name="model">wizard.update.product.category</field>
        <field name="arch" type="xml">
            <form>
                <div class="alert alert-info" role="alert">
                    <p>
                        You are about to update
                        <strong>
                            <field name="product_count" />
                        </strong>
                        product(s) from
                        <strong>
                            <field name="partner_name" />
                        </strong>
                        with price category
                        <strong>
                            <field name="price_category_id" />
                        </strong>
                        . This action cannot be undone.
                    </p>
                </div>

                <group>
                    <field name="partner_id" invisible="1" />
                    <field name="partner_name" readonly="1" />
                    <field name="price_category_id" readonly="1" />
                    <field name="product_count" readonly="1" />
                </group>

                <footer>
                    <button
                        name="action_confirm"
                        type="object"
                        string="Confirm"
                        class="btn-primary"
                    />
                    <button string="Cancel" class="btn-secondary" special="cancel" />
                </footer>
            </form>
        </field>
    </record>
</odoo>
