2010-01-20 08:41:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<!--
|
|
|
|
Phone calls by user and section
|
|
|
|
-->
|
|
|
|
|
2010-03-03 07:14:05 +00:00
|
|
|
<record id="view_crm_phonecall_tree" model="ir.ui.view">
|
|
|
|
<field name="name">report.crm.phonecall.tree</field>
|
|
|
|
<field name="model">report.crm.phonecall</field>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-03 07:14:05 +00:00
|
|
|
<tree string="Phone calls">
|
|
|
|
<field name="name" />
|
|
|
|
<field name="month"/>
|
2010-03-05 08:19:49 +00:00
|
|
|
<field name="section_id" />
|
|
|
|
<field name="user_id" />
|
2010-03-05 09:20:14 +00:00
|
|
|
<field name="company_id"/>
|
2010-03-05 08:19:49 +00:00
|
|
|
<field name="partner_id" />
|
2010-03-03 07:14:05 +00:00
|
|
|
<field name="nbr" string="#Phone calls" />
|
|
|
|
<field name="delay_close"/>
|
2010-03-03 09:51:22 +00:00
|
|
|
<field name="state" invisible="1"/>
|
|
|
|
<field name="categ_id" invisible="1"/>
|
2010-03-03 07:14:05 +00:00
|
|
|
</tree>
|
2010-01-20 08:41:20 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-03 07:14:05 +00:00
|
|
|
<record id="view_crm_phonecall_form" model="ir.ui.view">
|
|
|
|
<field name="name">report.crm.phonecall.form</field>
|
|
|
|
<field name="model">report.crm.phonecall</field>
|
|
|
|
<field name="inherit_id" ref="view_crm_case_form"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="nbr" position="after">
|
|
|
|
<field name="delay_close"/>
|
|
|
|
<field name="amount_revenue"/>
|
|
|
|
<field name="amount_revenue_prob"/>
|
|
|
|
<field name="probability"/>
|
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-03-03 07:14:05 +00:00
|
|
|
<record id="view_crm_phonecall_graph" model="ir.ui.view">
|
|
|
|
<field name="name">report.crm.phonecall.graph</field>
|
|
|
|
<field name="model">report.crm.phonecall</field>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph orientation="horizontal" string="Phone calls by User and Section" type="bar">
|
|
|
|
<field name="state"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field group="True" name="user_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
2010-03-03 11:04:36 +00:00
|
|
|
</record>
|
2010-03-03 07:14:05 +00:00
|
|
|
<record id="view_crm_phonecall_filter" model="ir.ui.view">
|
|
|
|
<field name="name">report.crm.phonecall.select</field>
|
|
|
|
<field name="model">report.crm.phonecall</field>
|
2010-03-04 11:15:14 +00:00
|
|
|
<field name="inherit_id" ref="view_crm_case_filter"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-04 10:57:55 +00:00
|
|
|
<field name="user_id" position="before">
|
|
|
|
</field>
|
2010-01-20 08:41:20 +00:00
|
|
|
</field>
|
2010-03-03 11:04:36 +00:00
|
|
|
</record>
|
2010-01-20 08:41:20 +00:00
|
|
|
|
2010-03-03 07:14:05 +00:00
|
|
|
<record id="action_report_crm_phonecall" model="ir.actions.act_window">
|
2010-03-03 09:30:05 +00:00
|
|
|
<field name="name">Phone Calls</field>
|
2010-03-03 07:14:05 +00:00
|
|
|
<field name="res_model">report.crm.phonecall</field>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="view_type">form</field>
|
2010-03-05 05:33:51 +00:00
|
|
|
<field name="view_mode">tree,graph</field>
|
|
|
|
<field name="view_id" ref="view_crm_phonecall_tree"/>
|
2010-03-03 07:14:05 +00:00
|
|
|
<field name="search_view_id" ref="view_crm_phonecall_filter"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
</record>
|
2010-03-03 07:14:05 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_phonecall_tree">
|
2010-03-05 05:33:51 +00:00
|
|
|
<field name="sequence" eval="1"/>
|
2010-03-03 07:14:05 +00:00
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_crm_phonecall_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_phonecall"/>
|
2010-03-03 08:54:24 +00:00
|
|
|
</record>
|
2010-01-20 08:41:20 +00:00
|
|
|
|
2010-03-03 08:54:24 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_phonecall_graph">
|
2010-03-05 05:33:51 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
2010-03-03 08:54:24 +00:00
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="view_crm_phonecall_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_phonecall"/>
|
|
|
|
</record>
|
|
|
|
|
2010-03-03 09:30:05 +00:00
|
|
|
<menuitem name="Phone Calls" action="action_report_crm_phonecall" id="menu_crm_phonecalls_tree" parent="base.next_id_64"/>
|
2010-03-03 08:54:24 +00:00
|
|
|
|
2010-01-20 08:41:20 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|