<?xml version="1.0" ?>
<openerp>
    <data>
        <!--
            Display Survey List
         -->

        <record id="view_survey_name" model="ir.ui.view">
            <field name="name">Survey</field>
            <field name="model">survey.name.wiz</field>
            <field name="arch" type="xml">
                <form string="Survey" version="7.0">
                    <header>
                        <button name="action_next" string="Start" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </header>
                    <group>
                        <field name="survey_id" on_change="on_change_survey(survey_id)"/>
                    </group>
                    <field name="note" placeholder="Add Description" attrs="{'readonly': [('survey_id','=',False)]}"/>
                </form>
            </field>
        </record>

        <record id="action_view_survey_name"
            model="ir.actions.act_window">
            <field name="name">Give Survey Answer</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">survey.name.wiz</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
    </data>
</openerp>
