<?xml version="1.0" ?>
<openerp>
    <data>

        <!-- Survey Print Form View -->

        <record id="view_survey_print" model="ir.ui.view">
            <field name="name">Survey Print</field>
            <field name="model">survey.print</field>
            <field name="arch" type="xml">
                <form string="Survey Print" version="7.0">
                    <header>
                        <button name="action_next" string="Print" type="object" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </header>
                    <group col="4">
                        <separator string="Survey" colspan="4"/>
                        <field name="survey_ids" nolabel="1" colspan="4" />
                        <separator string="Print Option" colspan="4"/>
                        <field name="orientation" colspan="4"/>
                        <field name="paper_size" colspan="4"/>
                        <field name="page_number" colspan="4"/>
                        <field name="without_pagebreak" colspan="4"/>
                    </group>
                </form>
            </field>
        </record>

        <!-- Survey Print action -->

        <record id="action_view_survey_print" model="ir.actions.act_window">
            <field name="name">Print Survey</field>
            <field name="res_model">survey.print</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        <menuitem name="Print Surveys" id="menu_print_survey_form" sequence="1"
            action="action_view_survey_print" parent="base.next_id_10"
            groups="base.group_tool_manager" icon="STOCK_PRINT"/>

    </data>
</openerp>
