2008-07-01 15:58:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2010-01-13 10:23:49 +00:00
<!-- <menuitem icon="terp - crm" id="menu_crm" name="CRM & SRM"/> -->
2010-01-17 05:57:34 +00:00
<menuitem id= "menu_crm_configuration" name= "Cases" parent= "base.menu_base_config" sequence= "0" />
2010-01-08 11:05:05 +00:00
2009-09-24 10:46:21 +00:00
<wizard id= "wizard_crm_send_mail" model= "crm.case.history" name= "crm.send.mail" string= "Send Mail" menu= "False" />
2009-12-01 07:17:53 +00:00
<wizard id= "wizard_crm_new_send_mail" model= "crm.case" name= "crm.new.send.mail" string= "Send New Mail" menu= "False" />
2008-10-31 14:09:59 +00:00
2009-03-19 12:05:49 +00:00
<!-- Case Sections -->
2008-07-01 15:58:58 +00:00
<record id= "crm_case_section_view_form" model= "ir.ui.view" >
<field name= "name" > crm.case.section.form</field>
<field name= "model" > crm.case.section</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Case Section" >
2008-06-29 08:26:07 +00:00
<notebook >
2008-07-01 15:58:58 +00:00
<page string= "Case section" >
<field name= "name" select= "1" />
<field name= "code" select= "1" />
<field name= "user_id" select= "2" />
2010-01-09 14:30:02 +00:00
<field name= "active" select= "2" />
2009-10-22 13:40:16 +00:00
<field name= "parent_id" select= "2" widget= "selection" />
2010-01-09 14:30:02 +00:00
<field name= "allow_unlink" select= "2" />
<field name= "reply_to" select= "2" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "crm_case_section_view_tree" model= "ir.ui.view" >
<field name= "name" > crm.case.section.tree</field>
<field name= "model" > crm.case.section</field>
<field name= "type" > tree</field>
<field name= "field_parent" > child_ids</field>
<field name= "arch" type= "xml" >
<tree string= "Case Section" >
<field name= "name" select= "1" />
<field name= "code" select= "1" />
<field name= "user_id" select= "1" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "crm_case_section_act" model= "ir.actions.act_window" >
<field name= "name" > Sections</field>
<field name= "res_model" > crm.case.section</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_case_section_view_tree" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-18 14:09:26 +00:00
2010-02-02 06:39:40 +00:00
# ------------------------------------------------------
2010-02-01 08:21:18 +00:00
# Stage
2010-02-02 06:39:40 +00:00
# ------------------------------------------------------
2010-02-01 08:21:18 +00:00
<record model= "ir.ui.view" id= "crm_case_stage_tree" >
<field name= "name" > crm.case.stage.tree</field>
<field name= "model" > crm.case.stage</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Stages" >
<field name= "sequence" />
<field name= "name" />
<field name= "section_id" />
</tree>
</field>
</record>
<record model= "ir.ui.view" id= "crm_case_stage_form" >
<field name= "name" > crm.case.stage.form</field>
<field name= "model" > crm.case.stage</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Stage" >
<field name= "name" select= "1" />
<field name= "section_id" select= "1" widget= "selection" />
<field name= "object_id" invisible= "1" />
<field name= "sequence" />
</form>
</field>
</record>
<record id= "crm_case_stage_act" model= "ir.actions.act_window" >
<field name= "name" > Stages</field>
<field name= "res_model" > crm.case.stage</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_case_stage_tree" />
</record>
<menuitem id= "menu_crm_case_stage" name= "Stages" parent= "crm.menu_crm_configuration" />
2010-01-18 14:09:26 +00:00
<!-- Case Categories -->
<record id= "crm_case_categ-view" model= "ir.ui.view" >
<field name= "name" > crm.case.categ.form</field>
<field name= "model" > crm.case.categ</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Case Category" >
<field name= "name" select= "1" />
<field name= "section_id" select= "1" widget= "selection" />
2010-02-02 06:39:40 +00:00
<field name= "object_id" invisible= "1" />
2010-01-18 14:09:26 +00:00
<field name= "probability" />
</form>
</field>
</record>
<record id= "crm_case_categ_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.case.categ.tree</field>
<field name= "model" > crm.case.categ</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Case Category" >
<field name= "name" />
<field name= "section_id" />
<field name= "probability" />
</tree>
</field>
</record>
<record id= "crm_case_categ-act" model= "ir.actions.act_window" >
<field name= "name" > Categories</field>
<field name= "res_model" > crm.case.categ</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_case_categ_tree-view" />
</record>
2010-02-01 08:21:18 +00:00
<menuitem id= "menu_crm_case_categ" name= "Categories" parent= "crm.menu_crm_configuration" />
2010-02-02 06:39:40 +00:00
2010-01-17 05:57:34 +00:00
<menuitem action= "crm_case_section_act" id= "menu_crm_case_section_act" parent= "crm.menu_crm_configuration" />
2008-10-29 17:25:07 +00:00
2010-01-13 10:23:49 +00:00
<!-- <menuitem id="next_id_52" name="All Cases" parent="crm.menu_crm" sequence="1"/> -->
2008-07-01 15:58:58 +00:00
<record id= "crm_case_section_act_tree" model= "ir.actions.act_window" >
<field name= "name" > Cases by section</field>
<field name= "res_model" > crm.case.section</field>
<field name= "domain" > [('parent_id','=',False)]</field>
<field name= "view_type" > tree</field>
<field name= "view_id" ref= "crm_case_section_view_tree" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-13 10:23:49 +00:00
<!-- <menuitem action="crm_case_section_act_tree" id="menu_crm_case_section_act_tree" parent="next_id_52"/> -->
2008-10-29 17:25:07 +00:00
2009-03-19 12:05:49 +00:00
2008-07-01 11:15:14 +00:00
<!-- Case rules -->
2008-07-01 15:58:58 +00:00
<record id= "crm_case_rule-view" model= "ir.ui.view" >
<field name= "name" > crm.case.rule.form</field>
<field name= "model" > crm.case.rule</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Case Rule" >
2008-10-29 13:34:45 +00:00
<field name= "name" select= "1" />
<field name= "active" select= "2" />
<notebook colspan= "4" >
<page string= "Conditions" >
<separator colspan= "4" string= "Conditions on States" />
2008-07-01 15:58:58 +00:00
<field name= "trg_state_from" select= "2" />
<field name= "trg_state_to" select= "2" />
2009-03-19 12:05:49 +00:00
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "Conditions on Case Fields" />
2009-12-01 07:17:53 +00:00
<field name= "regex_name" string= "Regex on Case Name" colspan= "2" />
2009-10-22 13:40:16 +00:00
<field name= "trg_section_id" select= "1" widget= "selection" />
2010-01-13 09:37:24 +00:00
<!-- <field name="trg_categ_id"/> -->
2008-07-01 15:58:58 +00:00
<field name= "trg_user_id" select= "2" />
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "Conditions on Case Partner" />
2008-07-01 15:58:58 +00:00
<field name= "trg_partner_id" />
<field name= "trg_partner_categ_id" />
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "Conditions on Priority Range" />
<field name= "trg_priority_from" />
<field name= "trg_priority_to" />
<separator colspan= "4" string= "Conditions on Timing" />
2008-07-01 15:58:58 +00:00
<field name= "trg_date_type" />
2008-10-29 15:16:39 +00:00
<label align= "1.0" string= "Delay After Trigger Date:" />
2008-07-01 15:58:58 +00:00
<group col= "2" colspan= "1" >
<field name= "trg_date_range" nolabel= "1" />
<field name= "trg_date_range_type" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</group>
2009-03-19 12:05:49 +00:00
<separator colspan= "4" string= "Condition on Communication History" />
2009-12-01 07:17:53 +00:00
<field name= "regex_history" string= "Regex on Communication History" />
2009-03-19 12:05:49 +00:00
<field name= "trg_max_history" />
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "Note" />
2008-10-29 15:16:39 +00:00
<label align= "0.0" string= "The rule use a AND operator. The case must match all non empty fields so that the rule execute the action described in the 'Actions' tab." colspan= "4" />
2008-10-29 13:34:45 +00:00
</page>
<page string= "Actions" >
<separator colspan= "4" string= "Fields to Change" />
2008-07-01 15:58:58 +00:00
<field name= "act_state" />
<field name= "act_section_id" />
<field name= "act_user_id" />
<field name= "act_priority" />
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "E-Mail Reminders (includes the content of the case)" />
2008-07-01 15:58:58 +00:00
<field name= "act_remind_user" />
<field name= "act_remind_partner" />
<field name= "act_remind_attach" />
<field colspan= "4" name= "act_email_cc" />
2009-09-24 10:46:21 +00:00
<separator colspan= "4" string= "Server Action to be Triggered" />
2009-12-01 07:17:53 +00:00
<field name= "server_action_id" />
2008-06-29 08:26:07 +00:00
<!--
2010-02-01 08:21:18 +00:00
<field name= "act_method" colspan= "4" readonly= "1" />
-->
2008-06-29 08:26:07 +00:00
</page>
2008-10-29 13:34:45 +00:00
<page string= "E-Mail Actions" >
<separator colspan= "4" string= "Template of Email to Send" />
2008-07-01 15:58:58 +00:00
<field name= "act_mail_to_user" />
<field name= "act_mail_to_partner" />
<field name= "act_mail_to_watchers" />
<field colspan= "4" name= "act_mail_to_email" />
<field colspan= "4" name= "act_mail_body" />
2008-10-29 13:34:45 +00:00
<separator colspan= "4" string= "Special Keywords to Be Used in The Body" />
<label align= "0.0" string= "%%(case_id)s = Case ID" colspan= "2" />
<label align= "0.0" string= "%%(case_subject)s = Case subject" colspan= "2" />
2009-07-29 11:59:08 +00:00
<label align= "0.0" string= "%%(case_description)s = Case description" colspan= "2" />
2008-10-29 13:34:45 +00:00
<label align= "0.0" string= "%%(case_date)s = Creation date" colspan= "2" />
<label align= "0.0" string= "%%(email_from)s = Partner email" colspan= "2" />
<label align= "0.0" string= "%%(partner)s = Partner name" colspan= "2" />
<label align= "0.0" string= "%%(partner_email)s = Partner email" colspan= "2" />
<label align= "0.0" string= "%%(case_user)s = Responsible name" colspan= "2" />
<label align= "0.0" string= "%%(case_user_email)s = Responsible email" colspan= "2" />
<label align= "0.0" string= "%%(case_user_phone)s = Responsible phone" colspan= "2" />
2009-12-01 07:17:53 +00:00
<label align= "0.0" string= "%% = The '%%' Character" colspan= "2" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "crm_case_rule_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.case.rule.tree</field>
<field name= "model" > crm.case.rule</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Case Rule" >
<field name= "name" />
<field name= "active" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "crm_case_rule-act" model= "ir.actions.act_window" >
<field name= "name" > Rules</field>
<field name= "res_model" > crm.case.rule</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_case_rule_tree-view" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-17 05:57:34 +00:00
<menuitem action= "crm_case_rule-act" id= "menu_crm_case_rule-act" parent= "crm.menu_crm_configuration" />
2009-12-23 11:43:11 +00:00
2009-10-29 11:27:13 +00:00
<record id= "view_crm_email_add_cc_wizard" model= "ir.ui.view" >
<field name= "name" > Add CC</field>
<field name= "model" > crm.email.add.cc</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Add CC" >
<field name= "name" />
2009-11-05 13:42:43 +00:00
<field name= "subject" />
<separator string= "" colspan= "4" />
2009-10-29 11:27:13 +00:00
<newline />
<field name= "user_id"
2010-02-01 08:21:18 +00:00
attrs="{ 'required' : [('name','=','user')]}"
on_change="change_email(user_id, partner_id)"/>
2009-10-29 11:27:13 +00:00
<field name= "partner_id"
2010-02-01 08:21:18 +00:00
attrs="{'required' : [('name','=','partner')]}"
on_change="change_email(user_id, partner_id)"/>
2009-10-29 11:27:13 +00:00
<field name= "email" />
<button name= "add_cc" string= "Ok" type= "object" icon= "gtk-go-forward" />
</form>
</field>
</record>
<record id= "action_view_crm_email_add_cc_wizard" model= "ir.actions.act_window" >
<field name= "name" > Add CC</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > crm.email.add.cc</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "target" > new</field>
</record>
2009-12-01 07:17:53 +00:00
2010-01-13 09:37:24 +00:00
2010-01-11 07:07:47 +00:00
2008-07-01 11:15:14 +00:00
<!-- Cases -->
2008-07-01 15:58:58 +00:00
<record id= "crm_case_log_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.case.log.tree</field>
<field name= "model" > crm.case.log</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Case logs" >
<field name= "date" />
<field name= "name" />
<field name= "som" />
<field name= "user_id" />
2008-10-31 14:09:59 +00:00
<field name= "section_id" />
2008-07-01 15:58:58 +00:00
<field name= "canal_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_history_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.case.history.tree</field>
<field name= "model" > crm.case.history</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Case History" >
<field name= "date" />
<field name= "name" />
<field name= "som" />
<field name= "user_id" />
<field name= "canal_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_calendar-view" model= "ir.ui.view" >
<field name= "name" > crm.case.calendar</field>
<field name= "model" > crm.case</field>
<field name= "type" > calendar</field>
<field name= "arch" type= "xml" >
<calendar color= "user_id" date_start= "date" date_stop= "date_deadline" day_length= "12" string= "Cases" >
<field name= "name" />
<field name= "partner_id" />
<field name= "state" />
2008-06-29 08:26:07 +00:00
</calendar>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.case.tree</field>
<field name= "model" > crm.case</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2009-12-23 11:43:11 +00:00
<tree colors= "red:date_deadline<current_date and state=='open';black:state in ('draft', 'cancel','done','pending')" string= "Cases" >
2008-12-04 07:38:03 +00:00
<field name= "id" />
2009-10-28 09:56:48 +00:00
<field name= "section_id" />
2008-07-01 15:58:58 +00:00
<field name= "date" />
<field name= "date_deadline" />
<field name= "name" />
<field name= "partner_id" />
<field name= "user_id" />
<field name= "state" />
2009-09-24 10:46:21 +00:00
<button name= "case_close" states= "open,draft,pending" string= "Close" type= "object" icon= "gtk-close" />
<button name= "case_open" states= "draft,pending" string= "Open" type= "object" icon= "gtk-go-forward" />
<button name= "case_cancel" states= "draft,open,pending" string= "Cancel" type= "object" icon= "gtk-cancel" />
<button name= "case_pending" states= "draft,open" string= "Pending" type= "object" icon= "gtk-media-pause" />
<button name= "case_escalate" states= "open,draft,pending" string= "Escalate" type= "object" icon= "gtk-go-up" />
2009-12-01 07:17:53 +00:00
<button name= "case_reset" states= "done,cancel" string= "Reset to Draft" type= "object" icon= "gtk-convert" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case-view" model= "ir.ui.view" >
<field name= "name" > crm.case.form</field>
<field name= "model" > crm.case</field>
<field name= "type" > form</field>
2009-11-20 15:21:57 +00:00
<field name= "priority" eval= "1" />
2008-07-01 15:58:58 +00:00
<field name= "arch" type= "xml" >
<form string= "Cases" >
2009-01-26 18:10:51 +00:00
<field colspan= "4" name= "name" select= "1" />
2009-10-22 13:40:16 +00:00
<field colspan= "2" name= "section_id" widget= "selection" />
2009-01-26 18:10:51 +00:00
<field name= "date" select= "1" />
<field name= "date_deadline" select= "2" />
2009-01-28 11:46:33 +00:00
<newline />
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "General" >
2010-02-01 08:21:18 +00:00
<group col= "8" colspan= "4" >
<field colspan= "4" name= "partner_id" on_change= "onchange_partner_id(partner_id, email_from)" select= "1" />
<field colspan= "3" name= "partner_address_id" on_change= "onchange_partner_address_id(partner_address_id, email_from)" select= "2" />
<newline />
<field colspan= "3" name= "email_from" select= "2" />
<button name= "remind_partner" states= "open,pending" string= "Send Reminder" type= "object" icon= "gtk-go-forward" />
<field name= "user_id" select= "1" />
<button name= "remind_user" states= "open,pending" string= "Send Reminder" type= "object" icon= "gtk-go-forward" />
</group>
2009-09-24 10:46:21 +00:00
<separator colspan= "4" string= "Description" />
<field name= "description" colspan= "4" nolabel= "1" />
2008-07-01 15:58:58 +00:00
<separator colspan= "4" />
<group col= "8" colspan= "4" >
<field name= "state" select= "1" />
2009-09-24 10:46:21 +00:00
<button name= "case_close" states= "open,draft,pending" string= "Close" type= "object" icon= "gtk-close" />
<button name= "case_open" states= "draft,pending" string= "Open" type= "object" icon= "gtk-go-forward" />
<button name= "case_cancel" states= "draft,open,pending" string= "Cancel" type= "object" icon= "gtk-cancel" />
<button name= "case_pending" states= "draft,open" string= "Pending" type= "object" icon= "gtk-media-pause" />
<button name= "case_escalate" states= "open,draft,pending" string= "Escalate" type= "object" icon= "gtk-go-up" />
<button name= "case_reset" states= "done,cancel" string= "Reset to Draft" type= "object" icon= "gtk-convert" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2009-09-24 10:46:21 +00:00
<page string= "History" >
2008-12-04 07:38:03 +00:00
<field name= "id" select= "1" />
2008-07-01 15:58:58 +00:00
<field name= "active" select= "2" />
<separator colspan= "4" string= "Dates" />
2008-12-04 07:38:03 +00:00
<field name= "create_date" />
2008-07-01 15:58:58 +00:00
<field name= "date_action_last" />
<field name= "date_action_next" />
<field colspan= "4" name= "log_ids" nolabel= "1" >
<form string= "Actions" >
<separator colspan= "4" string= "Action Information" />
<field colspan= "4" name= "name" />
<field name= "date" select= "2" />
<field name= "user_id" select= "2" />
<field name= "som" select= "2" />
<field name= "canal_id" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</page>
2009-09-24 10:46:21 +00:00
<page string= "Emails" >
<group colspan= "4" >
<field colspan= "4" name= "email_cc" string= "CC" />
</group>
<field name= "history_line" colspan= "4" nolabel= "1" mode= "form,tree" >
<form string= "Communication history" >
2009-10-29 06:16:57 +00:00
<group col= "7" colspan= "4" >
2009-09-24 10:46:21 +00:00
<field name= "date" />
<field name= "email" />
<field name= "canal_id" />
2009-10-29 06:16:57 +00:00
<button
2009-10-29 11:27:13 +00:00
string="Add a CC"
2010-02-01 08:21:18 +00:00
name="%(crm.action_view_crm_email_add_cc_wizard)d"
icon="gtk-add" type="action"/>
2009-09-24 10:46:21 +00:00
</group>
<newline />
<field name= "description" colspan= "4" nolabel= "1" />
<button colspan= "4" string= "Reply to Last Email" name= "%(wizard_crm_send_mail)d" context= "{'mail':'reply'}" icon= "gtk-undo" type= "action" />
</form>
<tree string= "Communication history" >
<field name= "description" />
<field name= "email" />
<field name= "date" />
</tree>
</field>
<button colspan= "4" string= "Send New Email" name= "%(wizard_crm_new_send_mail)d" context= "{'mail':'new'}" icon= "gtk-go-forward" type= "action" />
2009-12-01 07:17:53 +00:00
</page>
2008-06-29 08:26:07 +00:00
</notebook>
</form>
</field>
</record>
2009-03-19 12:05:49 +00:00
2009-09-24 10:46:21 +00:00
<record id= "view_crm_case_filter" model= "ir.ui.view" >
<field name= "name" > crm.case.select</field>
<field name= "model" > crm.case</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Case" >
<group col= '6' colspan= '4' >
2009-10-30 10:43:33 +00:00
<filter icon= "terp-partner" string= "My Cases"
2010-02-01 08:21:18 +00:00
domain="[('user_id','=',uid)]" separator="1"
default="1" help="Cases Related to Current User"
2009-10-30 10:43:33 +00:00
/>
2009-09-24 10:46:21 +00:00
<field name= "state" select= "1" >
2009-10-30 10:43:33 +00:00
<filter icon= "gtk-new" domain= "[('state','=','draft')]" help= "Draft Cases" />
<filter icon= "gtk-yes" domain= "[('state','=','open')]" help= "Open Cases" />
<filter icon= "gtk-media-pause" domain= "[('state','=','pending')]" help= "Pending Cases" />
2009-09-24 10:46:21 +00:00
</field>
<separator orientation= "vertical" />
<field name= "name" select= '1' />
<field name= "user_id" select= "1" widget= "selection" />
</group>
2010-02-02 06:39:40 +00:00
<field name= "section_id" default= "context.get('section_id', False)" select= "1" widget= "selection" string= "Section" />
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2010-02-02 06:39:40 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_categ0-act" model= "ir.actions.act_window" >
2009-12-09 13:38:11 +00:00
<field name= "name" > Cases</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > crm.case</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_case_tree-view" />
2009-12-01 07:17:53 +00:00
<field name= "search_view_id" ref= "view_crm_case_filter" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-13 10:23:49 +00:00
<!-- <menuitem action="crm_case_categ0 - act" id="menu_crm_case_categ0 - act" parent="crm.next_id_52"/> -->
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_categ0-act_open" model= "ir.actions.act_window" >
<field name= "name" > Open Cases</field>
<field name= "res_model" > crm.case</field>
<field name= "view_type" > form</field>
<field name= "domain" > [('state','< > ','done'),('state','< > ','cancel'),('state','< > ','pending')]</field>
2009-12-01 07:17:53 +00:00
<field name= "search_view_id" ref= "view_crm_case_filter" />
2008-06-29 08:26:07 +00:00
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_section_open_act" model= "ir.actions.act_window" >
2009-11-11 06:57:46 +00:00
<field name= "name" > Cases</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > crm.case</field>
<field name= "domain" > [('section_id','child_of',[active_id])]</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,calendar</field>
2008-06-29 08:26:07 +00:00
</record>
2008-07-01 15:58:58 +00:00
<record id= "ir_open_section_case" model= "ir.values" >
<field eval= "'tree_but_open'" name= "key2" />
<field eval= "'crm.case.section'" name= "model" />
<field name= "name" > Open Cases</field>
<field eval= "'ir.actions.act_window,%d'%crm_case_section_open_act" name= "value" />
<field eval= "True" name= "object" />
2008-06-29 08:26:07 +00:00
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_history-view" model= "ir.ui.view" >
<field name= "name" > crm.case.history.form</field>
<field name= "model" > crm.case.history</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Cases" >
<separator colspan= "4" string= "Case Description" />
<field colspan= "4" name= "name" select= "1" />
<field name= "date" select= "1" />
<field name= "user_id" select= "1" />
2010-01-13 15:42:07 +00:00
<field name= "model_id" select= "2" />
<field name= "res_id" select= "2" />
2008-07-01 15:58:58 +00:00
<field name= "som" select= "2" />
<field name= "canal_id" select= "2" />
<field colspan= "4" name= "description" select= "2" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-12-12 13:43:06 +00:00
<record id= "crm_case_history_search" model= "ir.ui.view" >
<field name= "name" > crm.case.history.select</field>
<field name= "model" > crm.case.history</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
2010-02-01 08:21:18 +00:00
<search string= "Search Histories" >
<filter icon= "terp-crm" string= "My Histories" domain= "[('user_id','=',uid)]" help= "My Histories" />
<separator orientation= "vertical" />
2010-01-05 11:26:59 +00:00
<group col= "6" colspan= "2" >
2010-02-01 08:21:18 +00:00
<field name= "date" select= "1" />
2010-02-02 06:39:40 +00:00
<field name= "user_id" select= "1" widget= "selection" />
<field name= "section_id" default= "context.get('section_id', False)" select= "1" widget= "selection" string= "Section" />
2010-02-01 08:21:18 +00:00
</group>
2009-12-12 13:43:06 +00:00
</search>
2010-02-01 08:21:18 +00:00
</field>
</record>
2009-12-23 11:43:11 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_case_history-act" model= "ir.actions.act_window" >
2009-12-12 13:43:06 +00:00
<field name= "name" > Histories</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > crm.case.history</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" ref= "crm_case_history_tree-view" />
2009-12-12 13:43:06 +00:00
<field name= "search_view_id" ref= "crm_case_history_search" />
2008-06-29 08:26:07 +00:00
</record>
2010-01-13 10:23:49 +00:00
<!-- <menuitem action="crm_case_history - act" id="menu_crm_case_history - act_main" name="Cases Histories" parent="crm.next_id_52"/> -->
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation_line_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.segmentation.line.tree</field>
<field name= "model" > crm.segmentation.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Partner Segmentation Lines" >
<field name= "name" />
<field name= "expr_name" />
<field name= "expr_operator" />
<field name= "expr_value" />
<field name= "operator" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation_line-view" model= "ir.ui.view" >
<field name= "name" > crm.segmentation.line.form</field>
<field name= "model" > crm.segmentation.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Partner Segmentation Lines" >
<field colspan= "4" name= "name" select= "1" />
<group col= "2" colspan= "4" >
<field name= "expr_name" select= "2" />
<field name= "expr_operator" select= "2" />
<field name= "expr_value" select= "2" />
2008-06-29 08:26:07 +00:00
</group>
<newline />
2008-07-01 15:58:58 +00:00
<field name= "operator" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation-view" model= "ir.ui.view" >
<field name= "name" > crm.segmentation.form</field>
<field name= "model" > crm.segmentation</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2009-12-01 07:17:53 +00:00
<form string= "Partner Segmentation" >
2009-09-24 10:46:21 +00:00
<field name= "name" select= "1" />
2009-12-01 07:17:53 +00:00
<field name= "exclusif" />
2009-09-24 10:46:21 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "Segmentation" >
<separator colspan= "4" string= "Segmentation Description" />
<field name= "name" select= "1" />
<field name= "exclusif" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field colspan= "2" name= "categ_id" select= "2" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "description" select= "2" />
<field name= "state" />
<group col= "3" colspan= "2" >
2009-09-24 10:46:21 +00:00
<button name= "process_start" states= "not running" string= "Compute Segmentation" type= "object" icon= "gtk-execute" />
<button name= "process_stop" states= "running" string= "Stop Process" type= "object" icon= "gtk-cancel" />
<button name= "process_continue" states= "running" string= "Continue Process" type= "object" icon= "gtk-go-forward" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Sales Purchase" >
<field name= "sales_purchase_active" />
<separator colspan= "4" string= "State of Mind Computation" />
<field name= "som_interval" />
<field name= "som_interval_max" />
<field name= "som_interval_decrease" />
<field name= "som_interval_default" />
<separator colspan= "4" string= "Segmentation Test" />
<field colspan= "4" name= "segmentation_line" widget= "one2many_list" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation_tree-view" model= "ir.ui.view" >
<field name= "name" > crm.segmentation.tree</field>
<field name= "model" > crm.segmentation</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Partner Segmentations" >
<field name= "name" />
<field name= "description" />
<field name= "categ_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation-act" model= "ir.actions.act_window" >
<field name= "name" > Segmentations</field>
<field name= "res_model" > crm.segmentation</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "crm_segmentation-view" />
2008-06-29 08:26:07 +00:00
</record>
2009-03-19 12:05:49 +00:00
2008-07-01 15:58:58 +00:00
<record id= "crm_segmentation_tree-act" model= "ir.actions.act_window" >
<field name= "name" > Segmentations</field>
<field name= "res_model" > crm.segmentation</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2008-06-29 08:26:07 +00:00
</record>
2010-01-17 05:57:34 +00:00
<menuitem action= "crm_segmentation_tree-act" id= "menu_crm_segmentation-act" parent= "crm.menu_crm_configuration" />
2010-01-13 10:23:49 +00:00
<!-- -->
<!-- <act_window domain="[('section_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]" id="act_crm_case_section_crm_case_opened" name="Open cases" res_model="crm.case" src_model="crm.case.section" view_mode="tree,form,calendar" view_type="form"/> -->
<!-- -->
<!-- <act_window domain="[('categ_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]" id="act_crm_case_categ_crm_case_opened" name="Open cases" res_model="crm.case" src_model="crm.case.categ" view_mode="tree,form,calendar" view_type="form"/> -->
<!-- -->
<!-- <act_window domain="[('partner_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]" id="act_res_partner_2_crm_case_opened" name="Open cases" res_model="crm.case" src_model="res.partner" view_mode="tree,form,calendar" view_type="form"/> -->
<!-- -->
<!-- <act_window domain="[('canal_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]" id="act_res_partner_canal_2_crm_case_opened" name="Open cases" res_model="crm.case" src_model="res.partner.canal" view_mode="tree,form,calendar" view_type="form"/> -->
<!-- -->
<!-- <act_window domain="[('user_id', '=', active_id),('state','<>','done'),('state','<>','cancel'),('state','<>','pending')]" id="act_res_users_2_crm_case_opened" name="Open cases" res_model="crm.case" src_model="res.users" view_mode="tree,form,calendar" view_type="form"/> -->
2009-03-19 12:05:49 +00:00
2010-01-08 11:05:05 +00:00
2010-02-01 08:21:18 +00:00
<record model= "ir.ui.view" id= "view_users_form_simple_modif_inherited1" >
2010-01-08 11:05:05 +00:00
<field name= "name" > view.users.form.crm.modif.inherited1</field>
<field name= "model" > res.users</field>
<field name= "inherit_id" ref= "base.view_users_form_simple_modif" />
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2010-02-01 08:21:18 +00:00
<page string= "Current Activity" position= "inside" >
2010-01-11 09:20:00 +00:00
<field name= "context_section_id" completion= "1" />
2010-01-08 11:05:05 +00:00
</page>
</field>
</record>
2010-02-01 08:21:18 +00:00
<record id= "view_users_form_simple_modif_inherited2" model= "ir.ui.view" >
<field name= "name" > view.users.form.crm.modif.inherited2</field>
<field name= "model" > res.users</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "base.view_users_form" />
<field eval= "18" name= "priority" />
<field name= "arch" type= "xml" >
<field name= "password" position= "after" >
<field name= "context_section_id" completion= "1" />
</field>
</field>
</record>
2010-01-08 11:05:05 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>