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-06-29 09:59:26 +00:00
|
|
|
|
2010-08-18 13:08:15 +00:00
|
|
|
<menuitem icon="terp-partner" id="base.menu_base_partner" name="Sales" sequence="0" groups="base.group_system,base.group_sale_manager,base.group_sale_salesman"/>
|
2010-06-03 08:51:24 +00:00
|
|
|
|
2010-07-29 07:07:11 +00:00
|
|
|
<menuitem id="base.menu_crm_config_lead" name="Leads & Opportunities"
|
2010-08-13 10:45:35 +00:00
|
|
|
parent="base.menu_base_config" sequence="1" groups="base.group_extended,base.group_system"/>
|
|
|
|
|
|
|
|
<menuitem id="base.menu_sale_config_sales" name="Sales"
|
|
|
|
parent="base.menu_base_config" sequence="0" groups="base.group_system,base.group_extended"/>
|
2010-06-03 08:51:24 +00:00
|
|
|
|
|
|
|
<menuitem id="menu_crm_config_phonecall" name="Phone Call"
|
2010-08-05 14:36:22 +00:00
|
|
|
parent="base.menu_base_config" sequence="5" groups="base.group_extended,base.group_system"/>
|
2010-01-08 11:05:05 +00:00
|
|
|
|
2010-05-14 04:48:36 +00:00
|
|
|
<menuitem id="base.next_id_64" name="Reporting"
|
2010-06-16 13:34:52 +00:00
|
|
|
parent="base.menu_base_partner" sequence="11" />
|
2010-05-14 04:48:36 +00:00
|
|
|
|
2010-07-10 11:34:04 +00:00
|
|
|
|
2010-05-14 04:48:36 +00:00
|
|
|
<!-- Case Sections Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
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">
|
2010-05-14 04:48:36 +00:00
|
|
|
<form string="Sales Team">
|
2010-04-17 21:07:21 +00:00
|
|
|
<group col="6" colspan="4">
|
2010-05-24 08:11:17 +00:00
|
|
|
<field name="name" select="1" colspan="2"/>
|
|
|
|
<field name="parent_id" select="2" widget="selection"/>
|
2010-04-17 21:07:21 +00:00
|
|
|
<field name="code" select="1"/>
|
|
|
|
<newline/>
|
2010-05-24 08:11:17 +00:00
|
|
|
<field name="user_id" select="2"/>
|
|
|
|
<field name="resource_calendar_id" select="2" widget="selection"/>
|
|
|
|
<field name="active" select="2"/>
|
2010-04-17 21:07:21 +00:00
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
2010-05-14 04:48:36 +00:00
|
|
|
<page string="Sales Team">
|
|
|
|
<group col="2" colspan="1">
|
2010-05-24 08:11:17 +00:00
|
|
|
<separator string="Mailgateway" colspan="2"/>
|
2010-04-17 21:07:21 +00:00
|
|
|
<field name="reply_to" select="2"/>
|
|
|
|
</group>
|
2010-05-14 04:48:36 +00:00
|
|
|
<group col="2" colspan="1">
|
2010-05-24 08:11:17 +00:00
|
|
|
<separator string="Configuration" colspan="2"/>
|
2010-04-17 21:07:21 +00:00
|
|
|
<field name="allow_unlink" select="2"/>
|
2010-07-09 10:27:44 +00:00
|
|
|
<field name="change_responsible"/>
|
2010-04-17 21:07:21 +00:00
|
|
|
</group>
|
2010-05-24 08:11:17 +00:00
|
|
|
<separator string="Team Members" colspan="4"/>
|
2010-05-14 04:48:36 +00:00
|
|
|
<field name="member_ids" nolabel="1" colspan="4"/>
|
2010-05-24 08:11:17 +00:00
|
|
|
</page>
|
|
|
|
<page string="Notes">
|
2010-04-17 21:07:21 +00:00
|
|
|
<field name="note" select="1" colspan="4" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Case Sections Tree View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
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">
|
2010-05-14 04:48:36 +00:00
|
|
|
<tree string="Sales Team">
|
2008-07-01 15:58:58 +00:00
|
|
|
<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>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Case Sections Action -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="crm_case_section_act" model="ir.actions.act_window">
|
2010-07-01 19:38:16 +00:00
|
|
|
<field name="name">Sales Teams</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<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-07-30 05:01:35 +00:00
|
|
|
|
2010-07-01 19:38:16 +00:00
|
|
|
<menuitem action="crm_case_section_act"
|
|
|
|
id="menu_crm_case_section_act" sequence="4"
|
2010-08-13 10:45:35 +00:00
|
|
|
parent="base.menu_sale_config_sales" />
|
2010-07-30 05:01:35 +00:00
|
|
|
|
2010-01-18 14:09:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- CRM Stage Tree View -->
|
2010-03-22 10:40:26 +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"/>
|
2010-02-23 10:35:15 +00:00
|
|
|
<field name="probability"/>
|
2010-02-01 08:21:18 +00:00
|
|
|
<field name="section_id"/>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-02-01 08:21:18 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- CRM Stage Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-02-01 08:21:18 +00:00
|
|
|
<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">
|
2010-03-17 06:21:16 +00:00
|
|
|
<separator string="Stage Definition" colspan="4"/>
|
2010-02-01 08:21:18 +00:00
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="section_id" select="1" widget="selection"/>
|
|
|
|
<field name="object_id" invisible="1" />
|
|
|
|
<field name="sequence"/>
|
2010-02-23 10:35:15 +00:00
|
|
|
<field name="probability"/>
|
2010-02-25 06:55:42 +00:00
|
|
|
<field name="on_change"/>
|
2010-03-17 06:21:16 +00:00
|
|
|
<separator string="Requirements" colspan="4"/>
|
|
|
|
<field name="requirements" nolabel="1" colspan="4"/>
|
2010-02-01 08:21:18 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- CRM Stage Action -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-02-01 08:21:18 +00:00
|
|
|
<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>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-03 08:51:24 +00:00
|
|
|
<!-- Case Categories Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-01-18 14:09:26 +00:00
|
|
|
<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-03-18 08:46:13 +00:00
|
|
|
<field name="object_id" invisible="1" />
|
2010-01-18 14:09:26 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Case Categories Tree View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-01-18 14:09:26 +00:00
|
|
|
<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"/>
|
2010-03-18 08:46:13 +00:00
|
|
|
<field name="section_id"/>
|
2010-01-18 14:09:26 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Resource Type of case Tree View -->
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-03-05 12:04:55 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_resource_type_tree">
|
|
|
|
<field name="name">crm.case.resource.type.tree</field>
|
|
|
|
<field name="model">crm.case.resource.type</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Resource Type">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="object_id"/>
|
|
|
|
<field name="section_id"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Resource Type of case Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-03-05 12:43:16 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_resource_type_form">
|
|
|
|
<field name="name">crm.case.resource.type.form</field>
|
2010-03-05 12:04:55 +00:00
|
|
|
<field name="model">crm.case.resource.type</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Resource Type">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="section_id" select="1" widget="selection"/>
|
|
|
|
<field name="object_id" />
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Resource Type of case Action -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-03-05 12:04:55 +00:00
|
|
|
<record id="crm_case_resource_type_act" model="ir.actions.act_window">
|
|
|
|
<field name="name">Resource Type</field>
|
|
|
|
<field name="res_model">crm.case.resource.type</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="crm_case_resource_type_tree"/>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
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-03-18 08:46:13 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Segmentation line Tree View -->
|
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
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Segmentation line Form View -->
|
2010-03-22 10:40:26 +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">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="expr_name"/>
|
|
|
|
<field name="expr_operator"/>
|
|
|
|
<field name="expr_value"/>
|
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
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- CRM Segmentation Form View -->
|
2010-03-22 10:40:26 +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">
|
2010-04-06 16:15:10 +00:00
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="name" select="1"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="categ_id"/>
|
2010-04-06 16:15:10 +00:00
|
|
|
<field name="exclusif"/>
|
|
|
|
</group>
|
2009-09-24 10:46:21 +00:00
|
|
|
<notebook colspan="4">
|
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"/>
|
2010-02-05 12:59:08 +00:00
|
|
|
<field colspan="4" name="segmentation_line" widget="one2many_list" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2010-02-05 12:59:08 +00:00
|
|
|
<page string="Description">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field colspan="4" name="description" nolabel="1"/>
|
2010-04-06 16:15:10 +00:00
|
|
|
</page>
|
2008-06-29 08:26:07 +00:00
|
|
|
</notebook>
|
2010-02-05 12:59:08 +00:00
|
|
|
<field name="state"/>
|
|
|
|
<group col="3" colspan="2">
|
2010-03-22 10:40:26 +00:00
|
|
|
<button name="process_start"
|
2010-04-06 16:15:10 +00:00
|
|
|
states="not running"
|
|
|
|
string="Compute Segmentation" type="object"
|
|
|
|
icon="gtk-execute" />
|
2010-03-22 10:40:26 +00:00
|
|
|
<button name="process_stop" states="running"
|
2010-04-06 16:15:10 +00:00
|
|
|
string="Stop Process" type="object"
|
|
|
|
icon="gtk-cancel" />
|
2010-03-22 10:40:26 +00:00
|
|
|
<button name="process_continue" states="running"
|
2010-04-06 16:15:10 +00:00
|
|
|
string="Continue Process" type="object"
|
|
|
|
icon="gtk-go-forward" />
|
2010-02-05 12:59:08 +00:00
|
|
|
</group>
|
2008-06-29 08:26:07 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- CRM Segmentation Tree View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
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">
|
2010-07-01 19:38:16 +00:00
|
|
|
<field name="name">Segmentation</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<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">
|
2010-07-29 07:07:11 +00:00
|
|
|
<field name="name">Partners Segmentation</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<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-06-03 08:51:24 +00:00
|
|
|
|
|
|
|
<menuitem action="crm_segmentation_tree-act"
|
2010-04-06 16:15:10 +00:00
|
|
|
id="menu_crm_segmentation-act"
|
2010-08-18 13:08:15 +00:00
|
|
|
groups="base.group_extended" sequence="2"
|
2010-07-29 07:07:11 +00:00
|
|
|
parent="base.menu_base_action_rule" />
|
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-03-22 10:40:26 +00:00
|
|
|
<field name="context_section_id" completion="1"
|
2010-04-06 16:15:10 +00:00
|
|
|
widget="selection"
|
2010-07-30 05:01:35 +00:00
|
|
|
context="{'user_prefence':True}"
|
2010-07-13 13:31:48 +00:00
|
|
|
readonly="0"/>
|
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">
|
2010-04-18 19:11:09 +00:00
|
|
|
<field name="context_section_id" completion="1" widget="selection"/>
|
2010-02-01 08:21:18 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-06-11 10:04:29 +00:00
|
|
|
<!-- Inherit View From Partner -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-04-06 16:15:10 +00:00
|
|
|
<record id="view_partners_form_crm1" model="ir.ui.view">
|
2010-03-05 10:40:27 +00:00
|
|
|
<field name="name">view.res.partner.form.crm.inherited1</field>
|
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
|
|
<field eval="18" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="parent_id" position="after">
|
2010-04-18 19:11:09 +00:00
|
|
|
<field name="section_id" completion="1" widget="selection"
|
|
|
|
groups="base.group_extended"/>
|
2010-03-05 10:40:27 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-09-13 12:34:13 +00:00
|
|
|
<record id="view_partners_tree_crm2" model="ir.ui.view">
|
2010-04-22 16:38:50 +00:00
|
|
|
<field name="name">view.res.partner.tree.crm.inherited2</field>
|
2010-03-05 10:40:27 +00:00
|
|
|
<field name="model">res.partner</field>
|
2010-04-22 16:38:50 +00:00
|
|
|
<field name="type">tree</field>
|
2010-03-05 10:40:27 +00:00
|
|
|
<field name="inherit_id" ref="base.view_partner_tree"/>
|
|
|
|
<field eval="18" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
2010-09-13 12:34:13 +00:00
|
|
|
<field name="country" position="after">
|
2010-04-18 19:11:09 +00:00
|
|
|
<field name="section_id" completion="1" widget="selection"
|
|
|
|
groups="base.group_extended"/>
|
2010-03-05 10:40:27 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-03-05 10:40:27 +00:00
|
|
|
<record id="view_partners_form_crm3" model="ir.ui.view">
|
2010-04-22 16:38:50 +00:00
|
|
|
<field name="name">view.res.partner.search.crm.inherited3</field>
|
2010-03-05 10:40:27 +00:00
|
|
|
<field name="model">res.partner</field>
|
2010-04-22 16:38:50 +00:00
|
|
|
<field name="type">search</field>
|
2010-03-05 10:40:27 +00:00
|
|
|
<field name="inherit_id" ref="base.view_res_partner_filter"/>
|
|
|
|
<field eval="18" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="category_id" position="after">
|
2010-04-18 19:11:09 +00:00
|
|
|
<field name="section_id" completion="1" widget="selection"
|
|
|
|
groups="base.group_extended"/>
|
2010-03-05 10:40:27 +00:00
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-07-30 05:01:35 +00:00
|
|
|
|
|
|
|
|
2010-07-10 10:00:16 +00:00
|
|
|
<!-- Custom Case Sections -->
|
|
|
|
<record id="crm_case_section_custom_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">crm.case.section.custom.form</field>
|
|
|
|
<field name="model">crm.case.section.custom</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Custom Case Section">
|
|
|
|
<group col="6" colspan="4">
|
|
|
|
<field name="name" select="1" colspan="2"/>
|
|
|
|
<field name="parent_id" select="2" widget="selection"/>
|
|
|
|
<field name="code" select="1"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="user_id" select="2"/>
|
|
|
|
<field name="active" select="2"/>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Information">
|
|
|
|
<group col="2" colspan="1">
|
|
|
|
<separator string="Mailgateway" colspan="2"/>
|
|
|
|
<field name="reply_to" select="2"/>
|
|
|
|
</group>
|
|
|
|
<group col="2" colspan="1">
|
|
|
|
<separator string="Configuration" colspan="2"/>
|
|
|
|
<field name="allow_unlink" select="2"/>
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
<page string="Notes">
|
|
|
|
<field name="note" select="1" colspan="4" nolabel="1"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="crm_case_section_custom_view_tree" model="ir.ui.view">
|
|
|
|
<field name="name">crm.case.section.custom.tree</field>
|
|
|
|
<field name="model">crm.case.section.custom</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Custom Case Section">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="code" select="1"/>
|
|
|
|
<field name="user_id" select="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-07-30 05:01:35 +00:00
|
|
|
|
2010-07-10 10:00:16 +00:00
|
|
|
<!-- Custom crm case-->
|
2010-07-30 05:01:35 +00:00
|
|
|
|
2010-07-10 10:00:16 +00:00
|
|
|
<record id="crm_case_custom_tree_view" model="ir.ui.view">
|
|
|
|
<field name="name">Custom Cases - Tree</field>
|
|
|
|
<field name="model">crm.case.custom</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree colors="red:date_deadline<current_date and state=='open'" string="Custom Cases">
|
|
|
|
<field name="id"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="date_deadline"/>
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_id"/>
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="state"/>
|
|
|
|
<field name="create_date" invisible="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="crm_case_custom_form_view" model="ir.ui.view">
|
|
|
|
<field name="name">Custom Cases - Form</field>
|
|
|
|
<field name="model">crm.case.custom</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="priority" eval="1"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Custom Cases">
|
|
|
|
<group colspan="4" col="6">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="section_id" widget="selection"/>
|
|
|
|
<field name="user_id" select="1"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="date" select="1"/>
|
|
|
|
<field name="date_deadline" select="2"/>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="General">
|
|
|
|
<group col="4" colspan="4">
|
|
|
|
<separator string="Communication" colspan="4"/>
|
|
|
|
<field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)" select="1"/>
|
|
|
|
<field name="partner_address_id" on_change="onchange_partner_address_id(partner_address_id, email_from)" select="2"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="email_from" select="2"/>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<separator string="Notes" colspan="4"/>
|
|
|
|
<field colspan="4" name="description" nolabel="1" select="2"/>
|
|
|
|
|
|
|
|
<separator colspan="4"/>
|
|
|
|
<group col="8" colspan="4">
|
|
|
|
<field name="state"/>
|
|
|
|
<button name="case_open" string="Open"
|
|
|
|
states="draft,pending" type="object"
|
|
|
|
icon="gtk-go-forward" />
|
|
|
|
<button name="case_close" string="Close"
|
|
|
|
states="open,draft,pending" type="object"
|
|
|
|
icon="gtk-close" />
|
|
|
|
<button name="case_pending" string="Pending"
|
|
|
|
states="draft,open" type="object"
|
|
|
|
icon="gtk-media-pause" />
|
|
|
|
<button name="case_cancel" string="Cancel"
|
|
|
|
states="draft,open,pending" type="object"
|
|
|
|
icon="gtk-cancel" />
|
|
|
|
<button name="case_reset"
|
|
|
|
string="Reset to Draft" states="done,cancel"
|
|
|
|
type="object" icon="gtk-convert" />
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
<page string="Extra Info">
|
|
|
|
<separator colspan="4" string="Dates"/>
|
|
|
|
<field name="create_date"/>
|
|
|
|
<field name="date_closed"/>
|
|
|
|
<field name="date_action_last"/>
|
|
|
|
<field name="date_action_next"/>
|
|
|
|
<separator colspan="4" string="Others"/>
|
|
|
|
<field name="id" select="1"/>
|
|
|
|
<field name="active" select="2"/>
|
|
|
|
<separator colspan="4" string="References"/>
|
|
|
|
<field colspan="4" name="ref"/>
|
|
|
|
</page>
|
|
|
|
<page string="Emails" groups="base.group_extended">
|
|
|
|
<group colspan="4">
|
2010-07-16 11:43:18 +00:00
|
|
|
<field colspan="4" name="email_cc" string="Global CC" widget="char" size="512"/>
|
2010-07-10 10:00:16 +00:00
|
|
|
</group>
|
2010-07-16 10:41:21 +00:00
|
|
|
<field name="message_ids" colspan="4" nolabel="1" mode="tree,form">
|
|
|
|
<tree string="Communication history">
|
|
|
|
<field name="display_text" string="History Information"/>
|
2010-09-06 10:47:08 +00:00
|
|
|
<field name="history" invisible="1"/>
|
2010-07-16 10:41:21 +00:00
|
|
|
<button
|
2010-08-11 10:57:05 +00:00
|
|
|
string="Reply" attrs="{'invisible': [('history', '!=', True)]}"
|
2010-07-16 10:41:21 +00:00
|
|
|
name="%(crm.action_crm_send_mail)d"
|
|
|
|
context="{'mail':'reply', 'model': 'crm.case.custom', 'include_original' : True}"
|
2010-07-19 06:08:18 +00:00
|
|
|
icon="terp-mail-replied" type="action" />
|
2010-07-16 10:41:21 +00:00
|
|
|
</tree>
|
|
|
|
<form string="Communication history">
|
|
|
|
<group col="4" colspan="4">
|
|
|
|
<field name="email_from"/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="email_to" widget="char" size="512"/>
|
|
|
|
<field name="email_cc" widget="char" size="512"/>
|
|
|
|
<field name="name" colspan="4" widget="char" size="512"/>
|
2010-08-11 10:57:05 +00:00
|
|
|
<field name="history" invisible="1"/>
|
2010-07-16 10:41:21 +00:00
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Details">
|
2010-08-11 10:57:05 +00:00
|
|
|
<group attrs="{'invisible': [('history', '!=', True)]}">
|
|
|
|
<field name="description" colspan="4" nolabel="1" height="250"/>
|
|
|
|
<button colspan="4"
|
|
|
|
string="Reply"
|
|
|
|
name="%(crm.action_crm_send_mail)d"
|
|
|
|
context="{'mail':'reply', 'model': 'crm.case.custom', 'include_original' : True}"
|
|
|
|
icon="terp-mail-replied" type="action" />
|
|
|
|
</group>
|
|
|
|
<group attrs="{'invisible': [('history', '=', True)]}">
|
|
|
|
<field name="display_text" colspan="4" nolabel="1" height="250"/>
|
|
|
|
</group>
|
2010-07-16 10:41:21 +00:00
|
|
|
</page>
|
|
|
|
<page string="Attachments">
|
|
|
|
<field name="attachment_ids" colspan="4" readonly="1" nolabel="1"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
2010-09-07 13:21:40 +00:00
|
|
|
<button string="Add New Note"
|
|
|
|
name="%(crm.action_crm_add_note)d"
|
|
|
|
context="{'model': 'crm.lead' }"
|
|
|
|
icon="terp-document-new" type="action" />
|
2010-09-01 09:44:08 +00:00
|
|
|
<button string="Send New Email"
|
2010-07-10 10:00:16 +00:00
|
|
|
name="%(crm.action_crm_send_mail)d"
|
|
|
|
context="{'mail':'new', 'model': 'crm.case.custom'}"
|
2010-07-19 06:08:18 +00:00
|
|
|
icon="terp-mail-message-new" type="action" />
|
2010-07-10 10:00:16 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-07-30 05:01:35 +00:00
|
|
|
|
2010-07-10 10:00:16 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_custom_calendar_view">
|
|
|
|
<field name="name">Custom Cases - Calendar</field>
|
|
|
|
<field name="model">crm.case.custom</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field name="priority" eval="2"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar string="Cases"
|
|
|
|
date_start="date" color="user_id">
|
|
|
|
<field name="name" />
|
|
|
|
<field name="partner_id" />
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-07-30 05:01:35 +00:00
|
|
|
|
2010-07-10 10:00:16 +00:00
|
|
|
<!-- Custom Cases Search View -->
|
|
|
|
|
|
|
|
<record id="crm_case_custom_search_view" model="ir.ui.view">
|
|
|
|
<field name="name">Custom Cases - Search</field>
|
|
|
|
<field name="model">crm.case.custom</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search Cases">
|
|
|
|
<filter icon="terp-check"
|
|
|
|
string="Current"
|
|
|
|
default="1" name="current"
|
|
|
|
domain="[('state','in',('draft','open'))]"/>
|
|
|
|
<filter icon="terp-camera_test"
|
|
|
|
string="Open"
|
|
|
|
domain="[('state','=','open')]"/>
|
|
|
|
<filter icon="terp-gtk-media-pause"
|
|
|
|
string="Pending"
|
|
|
|
domain="[('state','=','pending')]"/>
|
|
|
|
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter icon="terp-go-today" string="Today"
|
|
|
|
domain="[('create_date','<', time.strftime('%%Y-%%m-%%d 23:59:59')), ('create_date','>=', time.strftime('%%Y-%%m-%%d 00:00:00'))]"
|
|
|
|
help="Todays' Cases" />
|
|
|
|
<filter icon="terp-go-week" string="7 Days"
|
|
|
|
help="Cases creating during last 7 days"
|
|
|
|
domain="[('create_date','<', time.strftime('%%Y-%%m-%%d 23:59:59')),('create_date','>=',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d 00:00:00'))]"
|
|
|
|
/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="user_id">
|
|
|
|
<filter icon="terp-personal-"
|
|
|
|
domain="[('user_id','=', False)]"
|
|
|
|
help="Unassigned Cases" />
|
|
|
|
</field>
|
|
|
|
<newline/>
|
|
|
|
<group expand="0" string="Extended options..." groups="base.group_extended">
|
|
|
|
<field name="create_date" string="Creation Date"/>
|
|
|
|
<field name="date_closed"/>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
|
|
|
<group expand="0" string="Group By...">
|
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
|
|
|
<filter string="Priority" icon="terp-rating-rated"
|
|
|
|
domain="[]" context="{'group_by':'priority'}" />
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Salesman" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
|
|
|
|
<filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Creation" icon="terp-go-month"
|
|
|
|
domain="[]" context="{'group_by':'create_date'}" />
|
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|