2008-08-24 14:45:43 +00:00
<?xml version="1.0" ?>
2008-09-10 17:56:00 +00:00
<openerp >
2010-04-16 09:16:25 +00:00
<data >
<record model= "ir.actions.act_window" id= "open_questionnaires" >
<field name= "name" > Questionnaires</field>
<field name= "res_model" > crm_profiling.questionnaire</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-12-14 06:22:11 +00:00
<field name= "help" > You can create specific topic-related questionnaires to guide your team(s) in the sales cycle by helping them to ask the right questions. The segmentation tool allows you to automatically assign a partner to a category according to his answers to the different questionnaires.</field>
2010-04-16 09:16:25 +00:00
</record>
2012-03-19 10:09:54 +00:00
<menuitem parent= "base.menu_base_config" id= "menu_segm_questionnaire"
2012-03-19 12:24:13 +00:00
action="open_questionnaires" sequence="1"/>
2010-04-16 09:16:25 +00:00
<record model= "ir.actions.act_window" id= "open_questions" >
<field name= "name" > Questions</field>
<field name= "res_model" > crm_profiling.question</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
</record>
2010-05-27 09:26:52 +00:00
2012-03-19 12:24:13 +00:00
<menuitem parent= "base.menu_base_config" id= "menu_segm_answer"
2012-03-23 07:00:37 +00:00
action="open_questions" sequence="37" groups="base.group_no_one"/>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Questionnaire Tree view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_questionnaire_tree" >
<field name= "name" > Questionnaires</field>
<field name= "model" > crm_profiling.questionnaire</field>
<field name= "arch" type= "xml" >
<tree string= "Questionnaires" >
2012-06-28 12:18:20 +00:00
<field name= "name" colspan= "4" />
<field name= "description" colspan= "4" />
2010-04-16 09:16:25 +00:00
<field name= "questions_ids" colspan= "4" nolabel= "1" />
</tree>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Questionnaire Form view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_questionnaire_form" >
<field name= "name" > Questionnaires</field>
<field name= "model" > crm_profiling.questionnaire</field>
<field name= "arch" type= "xml" >
2014-06-12 11:55:40 +00:00
<form string= "Questionnaires" >
<group col= "4" >
<field name= "name" />
<newline />
<separator string= "Questions List" colspan= "4" />
<field name= "questions_ids" colspan= "4" nolabel= "1" />
<newline />
<separator string= "Description" colspan= "4" />
<field name= "description" colspan= "4" nolabel= "1" />
</group>
2010-04-16 09:16:25 +00:00
</form>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Answer Tree view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_answer" >
<field name= "name" > Answers</field>
<field name= "model" > crm_profiling.answer</field>
<field name= "arch" type= "xml" >
<tree string= "Answers" >
2012-06-28 12:18:20 +00:00
<field name= "question_id" />
<field name= "name" />
2010-04-16 09:16:25 +00:00
</tree>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Answer Form view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_answer_form" >
<field name= "name" > Answers</field>
<field name= "model" > crm_profiling.answer</field>
<field name= "arch" type= "xml" >
2014-06-12 11:55:40 +00:00
<form string= "Answers" >
<group col= "4" >
<field name= "question_id" />
<field name= "name" />
</group>
2010-04-16 09:16:25 +00:00
</form>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Questions Tree view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_question_tree" >
<field name= "name" > Questions</field>
<field name= "model" > crm_profiling.question</field>
<field name= "arch" type= "xml" >
<tree string= "Questions" >
2012-06-28 12:18:20 +00:00
<field name= "name" colspan= "4" />
2010-04-16 09:16:25 +00:00
<field name= "answers_ids" colspan= "4" nolabel= "1" />
</tree>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- Profiling Questions Form view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_question_form" >
<field name= "name" > Questions</field>
<field name= "model" > crm_profiling.question</field>
<field name= "arch" type= "xml" >
2014-06-12 11:55:40 +00:00
<form string= "Questions" >
<group col= "4" >
<newline />
<field name= "name" />
<newline />
<separator string= "Avalaible Answers" colspan= "4" />
<field name= "answers_ids" colspan= "4" nolabel= "1" >
<tree string= "Answers" editable= "bottom" >
<field name= "name" />
</tree>
<form string= "Answers" >
<field name= "name" />
</form>
</field>
</group>
2010-04-16 09:16:25 +00:00
</form>
</field>
</record>
<record model= "ir.ui.view" id= "view_partner_form" >
<field name= "name" > res.partner.profile.form</field>
<field name= "model" > res.partner</field>
<field name= "inherit_id" ref= "base.view_partner_form" />
<field name= "arch" type= "xml" >
<notebook position= "inside" >
2012-09-28 07:56:41 +00:00
<page string= "Profiling" groups= "base.group_user" >
2010-04-16 09:16:25 +00:00
<button string= "Use a questionnaire"
2011-11-08 13:30:12 +00:00
name="%(action_open_questionnaire)d" type="action" colspan="1"
2010-04-16 09:16:25 +00:00
icon="gtk-justify-fill" />
<newline />
<field name= "answers_ids" colspan= "4" nolabel= "1" />
</page>
</notebook>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- CRM Segmentation Form view -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "crm.crm_segmentation-view" >
<field name= "name" > crm.segmentation.form</field>
<field name= "model" > crm.segmentation</field>
<field name= "arch" type= "xml" >
2014-06-12 11:55:40 +00:00
<form string= "Partner Segmentation" >
<group col= "4" >
<notebook >
<page string= "Segmentation" >
<separator string= "Segmentation Description" colspan= "4" />
<field name= "name" />
<field name= "exclusif" />
<newline />
<field name= "categ_id" colspan= "2" />
<newline />
<field name= "description" colspan= "4" />
<field name= "state" />
<group col= "3" colspan= "2" >
<button name= "process_start"
states="not running" string="Compute Segmentation" type="object"
icon="gtk-apply" />
<button name= "process_stop" states= "running"
string="Stop Process" type="object" icon="gtk-stop" />
<button name= "process_continue" states= "running"
string="Continue Process" type="object" icon="gtk-go-forward" />
</group>
</page>
<page string= "Sales Purchase" >
<field name= "sales_purchase_active" />
<separator string= "Segmentation Test" colspan= "4" />
<field name= "segmentation_line" widget= "one2many_list" colspan= "4" />
</page>
<page string= "Profiling" >
<field name= "profiling_active" colspan= "2" />
<separator string= "Profiling Options" colspan= "4" />
<field name= "parent_id" colspan= "2" /> <newline />
<separator string= "Included Answers :" colspan= "2" />
<field name= "answer_yes" nolabel= "1" colspan= "2" />
2015-04-09 18:24:08 +00:00
<separator string= "Excluded Answers :" colspan= "2" />
2014-06-12 11:55:40 +00:00
<field name= "answer_no" nolabel= "1" colspan= "2" />
</page>
</notebook>
</group>
2010-04-16 09:16:25 +00:00
</form>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-03-26 13:27:16 +00:00
<!-- CRM Segmentation Tree view -->
2010-01-13 10:23:49 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_partner_crm_segmentation_tree" >
<field name= "name" > crm.segmentation.tree</field>
<field name= "model" > crm.segmentation</field>
<field name= "arch" type= "xml" >
<tree string= "Partner Segmentations" >
<field name= "name" />
<field name= "description" />
<field name= "categ_id" />
</tree>
</field>
</record>
</data>
2008-09-10 17:56:00 +00:00
</openerp>