<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="cheque_number_wizard_form" model="ir.ui.view">
        <field name="name">payroll.cheque.number.wizard.form</field>
        <field name="model">payroll.cheque.number.wizard</field>
        <field name="arch" type="xml">
            <form string="Set Cheque Number">
                <group>
                    <group>
                        <field name="employee_name" readonly="1"/>
                        <field name="amount" widget="monetary" readonly="1"/>
                        <field name="currency_id" invisible="1"/>
                    </group>
                </group>
                <group>
                    <field name="cheque_number" placeholder="Enter cheque number (e.g., 000123)" required="1"/>
                </group>
                <footer>
                    <button name="action_confirm" type="object" string="Print Cheque" class="btn-primary"/>
                    <button string="Cancel" class="btn-secondary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>
</odoo>
