2010-01-20 08:41:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<!-- Phone calls by user and section Tree View -->
|
2010-01-20 08:41:20 +00:00
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_phonecall_tree" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.phonecall.report.tree</field>
|
|
|
|
<field name="model">crm.phonecall.report</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">
|
2010-04-21 10:12:25 +00:00
|
|
|
<field name="name" invisible="1"/>
|
|
|
|
<field name="month" invisible="1"/>
|
|
|
|
<field name="section_id" invisible="1"/>
|
|
|
|
<field name="user_id" invisible="1"/>
|
|
|
|
<field name="company_id" invisible="1"/>
|
|
|
|
<field name="partner_id" invisible="1"/>
|
|
|
|
<field name="nbr" string="#Phone calls" sum="#Phone calls"/>
|
|
|
|
<field name="delay_close" avg="Avg Closing Delay"/>
|
2010-03-03 09:51:22 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2010-03-18 08:46:13 +00:00
|
|
|
<field name="categ_id" invisible="1"/>
|
2010-04-21 10:12:25 +00:00
|
|
|
<field name="day" invisible="1"/>
|
2010-03-03 07:14:05 +00:00
|
|
|
</tree>
|
2010-01-20 08:41:20 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<!-- Phone calls by user and section Form View -->
|
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_phonecall_form" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.phonecall.report.form</field>
|
|
|
|
<field name="model">crm.phonecall.report</field>
|
2010-03-03 07:14:05 +00:00
|
|
|
<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">
|
2010-04-19 10:03:03 +00:00
|
|
|
<field name="delay_close"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="amount_revenue"/>
|
|
|
|
<field name="amount_revenue_prob"/>
|
|
|
|
<field name="probability"/>
|
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<!-- Phone calls by user and section Graph View -->
|
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_phonecall_graph" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.phonecall.report.graph</field>
|
|
|
|
<field name="model">crm.phonecall.report</field>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-05 15:42:53 +00:00
|
|
|
<graph orientation="horizontal" string="Phone calls" type="bar">
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="state"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field group="True" name="user_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
2010-03-18 08:46:13 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Phone calls by user and section Search View -->
|
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_phonecall_filter" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.phonecall.report.select</field>
|
|
|
|
<field name="model">crm.phonecall.report</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-04-21 10:12:25 +00:00
|
|
|
<data>
|
|
|
|
<xpath expr='//search[@string="Search"]/group[@string="Extended options..."]/filter[@string="Cancel"]' position='after'>
|
2010-04-22 13:38:38 +00:00
|
|
|
<group>
|
2010-04-21 10:12:25 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="categ_id" widget="selection" domain="[('object_id.model', '=', 'crm.phonecall')]"/>
|
2010-04-22 13:38:38 +00:00
|
|
|
</group>
|
2010-04-21 10:12:25 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
2010-01-20 08:41:20 +00:00
|
|
|
</field>
|
2010-03-18 08:46:13 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Phone calls by user and section Action -->
|
|
|
|
|
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-05 13:17:53 +00:00
|
|
|
<field name="res_model">crm.phonecall.report</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>
|
2010-04-21 10:12:25 +00:00
|
|
|
<field name="context">{"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]}</field>
|
2010-03-05 15:42:53 +00:00
|
|
|
<field name="view_id" ref="view_report_crm_phonecall_tree"/>
|
|
|
|
<field name="search_view_id" ref="view_report_crm_phonecall_filter"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-04-19 10:03:03 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_phonecall_tree">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_report_crm_phonecall_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_phonecall"/>
|
|
|
|
</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-04-19 10:03:03 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="view_report_crm_phonecall_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_phonecall"/>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<menuitem name="Phone Calls"
|
2010-04-19 10:03:03 +00:00
|
|
|
action="action_report_crm_phonecall"
|
|
|
|
groups="base.group_extended"
|
|
|
|
id="menu_report_crm_phonecalls_tree" parent="base.next_id_64" />
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
</data>
|
2010-01-20 08:41:20 +00:00
|
|
|
</openerp>
|