odoo/addons/survey/survey_view.xml

692 lines
37 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
Survey User inputs
-->
<record id="survey_user_input_search" model="ir.ui.view">
<field name="name">survey_user_input_search</field>
<field name="model">survey.user_input</field>
<field name="arch" type="xml">
<search string="Search Survey">
<field name="survey_id"/>
<field name="email"/>
<field name="partner_id"/>
<filter string="Completed" domain="[('state','=', 'done')]"/>
<filter string="Partially completed" domain="[('state','=', 'skip')]"/>
<filter string="New" domain="[('state','=', 'new')]"/>
<filter string="Test" domain="[('state','=', 'test')]"/>
<group expand="0" string="Group By...">
<filter name="group_by_survey" string="Survey" domain="[]" context="{'group_by':'survey_id'}"/>
<filter string="Email" domain="[]" context="{'group_by':'email'}"/>
<filter string="Partner" domain="[]" context="{'group_by':['partner_id']}"/>
</group>
</search>
</field>
</record>
<record model="ir.ui.view" id="survey_user_input_form">
<field name="name">survey_user_input_form</field>
<field name="model">survey.user_input</field>
<field name="arch" type="xml">
<form string="Survey User inputs" version="7.0">
<header>
<button name="action_cancel" states="new,skip" string="Cancel" type="object" icon="gtk-stop"/>
<field name="state" widget="statusbar"/>
</header>
<sheet>
<div class="oe_right oe_button_box" name="button_box">
<button name="action_survey_resent" states="new,skip" string="Resent the invitation" type="object" icon="gtk-redo"/><br/>
<button name="action_preview" states="done,skip" string="Preview" type="object" icon="gtk-zoom-fit"/>
<button name="action_print_response" states="done,skip" string="Print response" type="object" icon="gtk-print"/>
</div>
<group col="2">
<group>
<field name="survey_id"/>
<field name="date_create"/>
<field name="deadline"/>
<field name="type"/>
</group>
<group>
<field name="partner_id"/>
<field name="email"/>
<field name="token" groups="base.group_no_one"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="survey_user_input_tree">
<field name="name">survey_user_input_tree</field>
<field name="model">survey.user_input</field>
<field name="arch" type="xml">
<tree string="Survey User inputs" version="7.0">
<field name="survey_id"/>
<field name="date_create"/>
<field name="deadline"/>
<field name="partner_id"/>
<field name="email"/>
<field name="type"/>
<field name="state"/>
<button name="action_survey_resent" states="new,skip" string="Resent the invitation" type="object" icon="gtk-redo"/>
<button name="action_preview" states="done,skip" string="Preview" type="object" icon="gtk-zoom-fit"/>
<button name="action_print_response" states="done,skip" string="Print response" type="object" icon="gtk-print"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_survey_user_input">
<field name="name">Survey Response</field>
<field name="res_model">survey.user_input</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="survey_user_input_tree"></field>
<field name="search_view_id" ref="survey_user_input_search"/>
<field name="context">{'search_default_group_by_survey': True}</field>
<field name="help" type="html">
<p>Nobody has replied to your surveys yet.</p>
</field>
</record>
<record id="action_selected_survey_user_input" model="ir.actions.act_window">
<field name="name">Survey User input</field>
<field name="res_model">survey.user_input</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="survey_user_input_tree"></field>
<field name="search_view_id" ref="survey_user_input_search"/>
<field name="context">{'search_default_survey_id': active_id, 'default_survey_id': active_id}</field>
<field name="help" type="html">
<p>Nobody has replied to your survey yet.</p>
</field>
</record>
<!--
Survey
-->
<record model="ir.ui.view" id="survey_form">
<field name="name">survey_form</field>
<field name="model">survey.survey</field>
<field name="priority">1</field>
<field name="arch" type="xml">
<form string="Survey" version="7.0">
<header groups="base.group_survey_manager">
<!-- <button name="action_edit_survey" states="draft" string="Edit Survey" type="object" class="oe_highlight"/>
<button name="survey_cancel" string="Cancel" states="draft" type="object"/>
<button name="action_send_survey" string="Invite people" states="open" type="object" class="oe_highlight"/> -->
<field name="state" widget="statusbar" statusbar_visible="draft,open,close,cancelled" clickable="True"/>
</header>
<sheet class="oe_survey">
<notebook colspan="4">
<page string="Configuration">
<div class="oe_button_box oe_right" groups="base.group_survey_manager">
<button name="action_test_survey" string="Test Survey" type="object"/>
<button name="action_print_survey" string="Print Survey" type="object"/>
</div>
<div class="oe_title">
<label for="title" class="oe_edit_only"/>
<h1>
<field name="title" attrs="{'readonly':[('state','in',['close','cancel'])]}"/>
</h1>
</div>
<field name="description" attrs="{'readonly': True}"/>
</page>
<page string="Pages and questions">
<field name="page_ids" colspan="4" mode="tree" attrs="{'readonly':[('state','=','close')]}" context="{'default_survey_id': active_id}" nolabel="1">
<tree>
<field name="sequence" widget="handle"/>
<field name="title"/>
<field name="question_ids"/>
</tree>
</field>
</page>
<page string="Survey options">
<group nolabel="1" colspan="4">
<field name="category" attrs="{'readonly':[('state','in',['close','cancel'])]}"/>
<field name="user_input_limit" attrs="{'readonly':[('state','=','close')]}"/>
<field name="visible_to_user"/>
<field name="auth_required" />
<field name="users_can_go_back" />
<field name="public_url" widget="url"/>
<field name="thank_you_message" attrs="{'readonly': True}"/>
</group>
</page>
<page string="User inputs">
<field name="user_input_ids" colspan="4" mode="tree">
<tree>
<field name="date_create"/>
<field name="deadline"/>
<field name="type"/>
<field name="state"/>
<field name="token"/>
<field name="partner_id"/>
<field name="email"/>
<field name="user_input_line_ids"/>
</tree>
</field>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<record model="ir.ui.view" id= "survey_tree">
<field name="name">survey_tree</field>
<field name="model">survey.survey</field>
<field name="arch" type="xml">
<tree colors="gray:state == 'close'" string="Survey">
<field name="title" />
<field name="category"/>
<field name="date_open" string="Opening date" />
<field name="date_close" string="Closing date" />
<field name="state" />
<field name="tot_start_survey" string="Started" />
<field name="tot_comp_survey" string="Completed" />
<field name="user_input_limit" string="Max closing limit" />
<button name="action_fill_survey" states="open"
string="Fill in Survey" type="object" icon="gtk-execute" context="{'survey_id': active_id}" attrs="{'invisible':[('state','!=','open')]}"/>
<button name="action_print_survey" string="Print Answer" type="object" icon="gtk-print"/>
<button name="print_statistics" string="Print Statistics" states="open,close,cancel" type="object" icon="gtk-print" groups="base.group_survey_manager"/>
</tree>
</field>
</record>
<record id="survey_search" model="ir.ui.view">
<field name="name">survey_search</field>
<field name="model">survey.survey</field>
<field name="arch" type="xml">
<search string="Search Survey">
<field name="title" string="Survey"/>
<field name="category"/>
<filter string="Draft" domain="[('state','=', 'draft')]"/>
<filter string="Open" domain="[('state','=','open')]"/>
<filter string="Closed" domain="[('state','=','close')]"/>
<filter string="Cancelled" domain="[('state','=','cancel')]"/>
<separator/>
<filter string="Not completed yet" name="unread_message" domain="['&amp;', ('response_ids.state', 'in', ['new', 'skip']), ('response_ids.partner_id.user_id', '=', uid)]"/>
<group expand="1" string="Group by...">
<filter string="Category" name="group_category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category'}"/>
<filter string="Status" name="group_status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
</group>
</search>
</field>
</record>
<record model="ir.ui.view" id="view_survey_kanban">
<field name="name">event.survey.kanban</field>
<field name="model">survey.survey</field>
<field name="arch" type="xml">
<kanban>
<field name="title"/>
<field name="date_open"/>
<field name="tot_comp_survey"/>
<field name="user_input_limit"/>
<field name="color"/>
<field name="state"/>
<field name="auth_required"/>
<field name="public_url"/>
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_survey oe_kanban_global_click">
<span class="oe_survey_fill">
<t t-if="record.state.raw_value === 'open'"><a name="action_fill_survey" type="object">Fill in Survey</a></t>
<t t-if="record.state.raw_value !== 'open'"><a name="action_edit_survey" type="object">Test Survey</a></t>
</span>
<div class="oe_dropdown_toggle oe_dropdown_kanban" t-if="widget.view.is_action_enabled('edit')">
<span class="oe_e">i</span>
<ul class="oe_dropdown_menu">
<t t-if="widget.view.is_action_enabled('edit')"><li><a type="open">Survey Settings...</a></li></t>
<t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
<li><ul class="oe_kanban_colorpicker" data-field="color"/></li>
</ul>
</div>
<div class="oe_kanban_content">
<span class="oe_kanban_right" t-if="widget.view.is_action_enabled('edit')">
<a t-if="record.state.raw_value === 'draft'" title="Draft" class="oe_kanban_status"> </a>
<a t-if="record.state.raw_value === 'open' and record.auth_required.raw_value" title="Open for authentified people" class="oe_kanban_status_green"> </a>
<a t-if="record.state.raw_value === 'open' and !record.auth_required.raw_value" title="Open to everyone" class="oe_kanban_status_green"> </a>
<a t-if="record.state.raw_value === 'close'" title="Close" class="oe_kanban_status_red"> </a>
<a t-if="record.state.raw_value === 'cancel'" title="Cancelled" class="oe_kanban_status_red"> </a>
</span>
<h3 class="oe_kanban_ellipsis"><t t-esc="record.title.raw_value.toString()"></t></h3>
<table class="oe_kanban_survey_list" t-if="widget.view.is_action_enabled('edit')">
<tr>
<td>
<t t-if="record.state.raw_value === 'open'"><a name="action_survey_fill2" type="object">Take survey</a></t>
<t t-if="record.state.raw_value !== 'open'"><span class="oe_inactive" title="You can only take open surveys">Take survey</span></t>
</td>
<td>
<t t-if="record.state.raw_value === 'open'"><a name="action_send_survey" type="object">Invite people</a></t>
<t t-if="record.state.raw_value !== 'open'"><span class="oe_inactive" title="You can only collect answers for the open survey">Invite people</span></t>
</td>
<td>
<t t-if="record.tot_comp_survey.raw_value"><a name="%(action_selected_survey_user_input)d" type="action">Get responses (<field name="tot_comp_survey"/><t t-if="record.user_input_limit.raw_value > 0"> / <field name="user_input_limit"/></t>)</a></t>
<t t-if="!record.tot_comp_survey.raw_value"><span class="oe_inactive" title="There is no answer yet">Get responses (<field name="tot_comp_survey"/><t t-if="record.user_input_limit.raw_value > 0"> / <field name="user_input_limit"/></t>)</span></t>
</td>
</tr>
<tr>
<td>
<a name="action_print_survey" type="object">Print Survey</a>
</td>
<td>
<t t-if="record.tot_comp_survey.raw_value"><a name="print_statistics" type="object">Print Statistics</a></t>
<t t-if="!record.tot_comp_survey.raw_value"><span class="oe_inactive" title="There is no answer yet">Print Statistics</span></t>
</td>
</tr>
</table>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<record model="ir.actions.act_window" id="action_survey_form">
<field name="name">Surveys</field>
<field name="res_model">survey.survey</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="view_id" ref="view_survey_kanban"></field>
<field name="search_view_id" ref="survey_search"/>
<field name="context">{'search_default_group_category': 1}</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new survey.
</p><p>
You can create survey for different purposes: recruitment
interviews, employee's periodical evaluations, marketing
campaigns, etc.
</p><p>
A survey is made of pages containing questions
of several types: text, multiple choices, etc.
</p>
</field>
</record>
<!--
Survey Pages
-->
<record model="ir.ui.view" id="survey_page_form">
<field name="name">survey_page_form</field>
<field name="model">survey.page</field>
<field name="arch" type="xml">
<form string="Survey Page" version="7.0">
<sheet class="oe_survey">
<group invisible="context.get('edit')" attrs="{'invisible': [('survey_id','!=',None)]}">
<field name="survey_id"/>
</group>
<div class="oe_title">
<label for="title" class="oe_edit_only"/>
<h1><field name="title"/></h1>
</div>
<field name="description" attrs="{'readonly': True}"/>
<group string="Questions">
<field name="question_ids" nolabel="1" mode="tree" context="{'default_page_id': active_id}">
<tree>
<field name="sequence" widget="handle"/>
<field name="question"/>
<field name="type"/>
<field name="constr_mandatory"/>
</tree>
</field>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="survey_page_tree">
<field name="name">survey_page_tree</field>
<field name="model">survey.page</field>
<field name="arch" type="xml">
<tree string="Survey Page">
<field name="sequence" widget="handle"/>
<field name="title"/>
<field name="survey_id"/>
<field name="question_ids" string="#Questions"/>
</tree>
</field>
</record>
<record id="view_survey_page_filter" model="ir.ui.view">
<field name="name">survey.page.list.select</field>
<field name="model">survey.page</field>
<field name="arch" type="xml">
<search string="Search Survey Page">
<field name="title" string="Page"/>
<field name="survey_id"/>
<group expand="0" string="Group By...">
<filter name="group_by_survey" string="Survey" domain="[]" context="{'group_by':'survey_id'}"/>
</group>
</search>
</field>
</record>
<record model="ir.actions.act_window" id="action_survey_page_form">
<field name="name">Survey Pages</field>
<field name="res_model">survey.page</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="survey_page_tree"></field>
<field name="context">{'search_default_group_by_survey': True}</field>
</record>
<record model="ir.ui.view" id="survey_page_wizard_test1">
<field name="name">survey_page_wizard_test</field>
<field name="model">survey.page</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Survey Pages">
<field name="title" colspan="4"/>
<separator string="Description" colspan="4"/>
<field name="note" colspan="4" nolabel="1"/>
<group colspan="4">
<label string="" colspan="3"/>
<button name="survey_save" string="Ok" type="object" icon="gtk-go-forward"/>
</group>
</form>
</field>
</record>
<!--
Survey Question
-->
<record model="ir.ui.view" id="survey_question_form">
<field name="name">survey_question_form</field>
<field name="model">survey.question</field>
<field name="arch" type="xml">
<form string="Survey Question" version="7.0">
<sheet class="oe_survey">
<group colspan="4" col="2">
<!-- The question -->
<group colspan="2">
<field name="type" readonly="context.get('is_comment_question', False)"/>
<field name="question" />
<field name="description" />
</group>
<!-- Labels -->
<group colspan="2" string="Choice of answers" attrs="{'invisible':[('type','not in',['simple_choice', 'multiple_choice'])]}">
<field colspan="2" name="simple_choice_display" string="Display mode" />
<field colspan="2" name="labels_ids" nolabel="1" context="{'default_question_id': active_id}">
<tree string="Suggested answers" editable="bottom">
<field name="sequence" widget="handle"/>
<field name="value" />
</tree>
</field>
</group>
<!-- Sub-questions -->
<group colspan="2" attrs="{'invisible':[('type','not in',['matrix', 'vector'])]}">
<field name='children_ids' nolabel='1' context="{'default_parent_id': active_id}"/>
</group>
<!-- Question validation -->
<group colspan="2" string="Question required" invisible="context.get('is_comment_question', False)">
<field name="constr_mandatory" string="Is this question mandatory?"/>
<group attrs="{'invisible':[('constr_mandatory','=',False)]}">
<group attrs="{'invisible':[('type','not in',['matrix'])]}">
<field name="constr_type" string="Users must answer..."/>
<group attrs="{'invisible':[('constr_type','not in',['at least','a range'])]}">
<field name="constr_minimum_req_ans" nolabel="1" />
</group>
<group attrs="{'invisible':[('constr_type','not in',['at most','a range', 'exactly'])]}">
<field name="constr_maximum_req_ans" nolabel="1" />
</group>
</group>
<field name="constr_error_msg" string="Error message"/>
</group>
</group>
<!-- Answer validation -->
<group colspan="1" string="Answer Validation" attrs="{'invisible':[('type','not in',['textbox'])]}">
<group>
<field name="validation_required"/>
<group colspan="2" attrs="{'invisible':[('validation_required','=',False)]}">
<field name="validation_type" />
<group colspan="2" attrs="{'invisible':[('validation_type','!=','has_length')]}">
<field name="validation_length_min" string="between"/>
<field name="validation_length_max" string="and"/>
</group>
<group colspan="2" attrs="{'invisible':[('validation_type','!=','is_decimal')]}">
<field name="validation_min_float_value" string="between"/>
<field name="validation_max_float_value" string="and"/>
</group>
<group colspan="2" attrs="{'invisible':[('validation_type','!=','is_integer')]}">
<field name="validation_min_int_value" string="between"/>
<field name="validation_max_int_value" string="and"/>
</group>
<group colspan="2" attrs="{'invisible':[('validation_type','!=','is_date')]}">
<field name="validation_min_date" string="between"/>
<field name="validation_max_date" string="and"/>
</group>
<field name="validation_error_msg" />
</group>
</group>
</group>
<!-- Comments -->
<group colspan="2" string="Comments" attrs="{'invisible':[('type','not in',['simple_choice','multiple_choice'])]}">
<field name='comments_allowed' />
<group attrs="{'invisible':[('comments_allowed','=',False)]}">
<field name='comment_count_as_answer' />
<field colspan="2" nolabel="1" name="comment_children_ids" context="{'default_parent_id': active_id, 'default_type': 'textbox', 'is_comment_question': True}">
<tree>
<field name="question" string="Comment question (only one question allowed, others will be ignored)"/>
</tree>
</field>
</group>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="survey_question_tree">
<field name="name">survey_question_tree</field>
<field name="model">survey.question</field>
<field name="arch" type="xml">
<tree string="Survey Question">
<field name="sequence" widget="handle"/>
<field name="question"/>
<field name="page_id"/>
<field name="survey_id"/>
<field name="type"/>
</tree>
</field>
</record>
<record id="survey_question_search" model="ir.ui.view">
<field name="name">survey_question_search</field>
<field name="model">survey.question</field>
<field name="arch" type="xml">
<search string="Search Question">
<field name="question" string="Question"/>
<field name="survey_id"/>
<field name="page_id"/>
<field name="type"/>
<group expand="1" string="Group by...">
<filter name="group_by_survey" string="Survey" domain="[]" context="{'group_by':'survey_id'}"/>
<filter name="group_by_page" string="Page" domain="[]" context="{'group_by':'page_id'}"/>
</group>
</search>
</field>
</record>
<record model="ir.actions.act_window" id="action_survey_question_form">
<field name="name">Survey Questions</field>
<field name="res_model">survey.question</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="survey_question_tree"></field>
<field name="search_view_id" ref="survey_question_search"/>
<field name="context">{'search_default_group_by_survey': True, 'search_default_group_by_page': True}</field>
</record>
<record model="ir.actions.act_window" id="action_survey_label_form">
<field name="name">Survey Labels</field>
<field name="res_model">survey.label</field>
<field name="view_type">tree</field>
<field name="view_mode">tree</field>
<field name="context">{'default_group_by_question': True}</field>
</record>
<record model="ir.ui.view" id="survey_question_wizard_test">
<field name="name">survey_question_wizard_test</field>
<field name="model">survey.question</field>
<field name="priority">20</field>
<field name="inherit_id" ref="survey_question_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//group[@colspan='4']" position="after">
<group colspan="4">
<button name="survey_save" string="Ok" type="object" icon="gtk-go-forward" invisible="not context.get('show_button_ok')"/>
</group>
</xpath>
</data>
</field>
</record>
<!--
Survey Response Line
-->
<record model="ir.ui.view" id= "survey_response_line_form">
<field name="name">survey_response_line_form</field>
<field name="model">survey.response.line</field>
<field name="arch" type="xml">
<form string="Survey Answer">
<field name="question_id"/>
<field name="date_create"/>
<notebook colspan="4">
<page string="Answer">
<field name="response_answer_ids" colspan="4" nolabel="1"/>
<group col="5" colspan="4">
<field name="state"/>
</group>
</page>
<page string="Single Textboxes">
<field name="single_text" colspan="4"/>
</page>
<page string="Comment">
<separator string="Description" colspan="4"/>
<field name="comment" nolabel="1" colspan="4"/>
</page>
</notebook>
</form>
</field>
</record>
<record model="ir.ui.view" id="survey_response_line_tree">
<field name="name">survey_response_line_tree</field>
<field name="model">survey.response.line</field>
<field name="arch" type="xml">
<tree string="Survey Answer Line">
<field name="page_id"/>
<field name="question_id"/>
<field name="date_create"/>
<field name="state"/>
</tree>
</field>
</record>
<!--
Survey Response Answer
-->
<record model="ir.ui.view" id="survey_response_answer_tree">
<field name="name">survey_response_answer_tree</field>
<field name="model">survey.response.answer</field>
<field name="arch" type="xml">
<tree editable="top" string="Survey Answer">
<field name="answer_id"/>
<field name="answer" />
<field name="value_choice" />
<field name="column_id"/>
<field name="comment_field"/>
</tree>
</field>
</record>
<act_window
context="{'search_default_survey_id': [active_id], 'default_survey_id': active_id}"
id="act_survey_pages"
name="Pages"
res_model="survey.page"
src_model="survey.survey"/>
<act_window
context="{'search_default_survey': active_id, 'default_survey': active_id}"
id="act_survey_question"
name="Questions"
res_model="survey.question"
src_model="survey.survey"/>
<act_window
context="{'search_default_page_id': active_id, 'default_page_id': active_id}"
id="act_survey_page_question"
name="Questions"
res_model="survey.question"
src_model="survey.page"/>
<act_window domain="[('question_id', '=', active_id)]"
id="act_survey_answer"
name="Answers"
res_model="survey.label"
src_model="survey.question"/>
<!--
MENU ELEMENTS
-->
<!-- Top menubar item -->
<menuitem name="Surveys" id="survey_main" sequence="120"/>
<!-- Left menu categories-->
<menuitem name="Surveys" id="menu_surveys" parent="survey_main" sequence="10" groups="base.group_survey_user"/>
<menuitem name="Statistics" id="menu_statistics" parent="survey_main" sequence="20" groups="base.group_survey_manager"/>
<menuitem name="Configuration" id="menu_surveys_configuration" parent="survey_main" sequence="30" groups="base.group_survey_manager"/>
<!-- Left menu elements: Survey -->
<menuitem name="Surveys" id="menu_survey_form" action="action_survey_form" parent="menu_surveys" sequence="1"/>
<!-- Left menu elements: Statistics -->
<menuitem name="Surveys User inputs" id="menu_survey_type_form1" action="action_survey_user_input" parent="menu_statistics" sequence="1"/>
<!-- Left menu elements: Configuration -->
<menuitem name="Survey Pages" id="menu_survey_page_form1" action="action_survey_page_form" parent="menu_surveys_configuration" sequence="1"/>
<menuitem name="Survey Questions" id="menu_survey_question_form1" action="action_survey_question_form" parent="menu_surveys_configuration" sequence="2"/>
<menuitem name="Survey Labels" id="menu_survey_label_form1" action="action_survey_label_form" parent="menu_surveys_configuration" sequence="3"/>
<!-- web -->
<record id="action_survey_fill2" model="ir.actions.client">
<field name="res_model">survey.survey</field>
<field name="tag">survey.fill2</field>
</record>
<menuitem id="menu_survey_fill2" name="Survey Fill" parent="menu_surveys" action="action_survey_fill2"/>
</data>
</openerp>