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

        <!-- Survey Print Statistics Form View -->

        <record id="view_survey_print_statistics" model="ir.ui.view">
            <field name="name">Survey Print Statistics</field>
            <field name="model">survey.print.statistics</field>
            <field name="arch" type="xml">
                <form string="Survey Print Statistics" 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>
                    <field name="survey_ids"/>
                </form>
            </field>
        </record>

        <!-- Survey Print Statistics action -->

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

        <menuitem name="Surveys Statistics" action="action_view_survey_print_statistics" id="menu_print_survey_statistics"
            parent="base.next_id_10" icon="STOCK_PRINT" groups="base.group_tool_manager"/>

    </data>
</openerp>
