<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="visit_location_otp_wizard_form" model="ir.ui.view">
            <field name="name">visit.location.otp.wizard.form</field>
            <field name="model">visit.location.otp.wizard</field>
            <field name="arch" type="xml">
                <form string="OTP Verification">
                    <sheet>
                        <group>
                            <field name="visit_otp_code" invisible="1"/>
                            <field name="otp_code"/>
                            <field name="visit_id" invisible="1"/>
                        </group>
                        <footer>
                            <button string="Confirm" type="object" name="action_confirm_otp" class="btn-primary"/>
                            <button string="Cancel" class="btn-secondary" special="cancel"/>
                        </footer>
                    </sheet>
                </form>

            </field>
        </record>
        <record id="view_visit_skip_otp_wizard_form" model="ir.ui.view">
            <field name="name">visit.skip.otp.wizard.form</field>
            <field name="model">visit.skip.otp.wizard</field>
            <field name="arch" type="xml">
                <form string="Skip OTP Verification">
                    <sheet>
                        <group>
                            <field name="visit_id" invisible="1"/>
                            <field name="reason"/>
                        </group>
                    </sheet>
                    <footer>
                        <button name="action_confirm_skip" string="Confirm" type="object" class="btn-primary"/>
                        <button string="Cancel" class="btn-secondary" special="cancel"/>
                    </footer>
                </form>
            </field>
        </record>
    </data>
</openerp>