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"/>
|
2010-05-03 07:30:21 +00:00
|
|
|
<field name="partner_address_id" invisible="1"/>
|
2010-04-21 10:12:25 +00:00
|
|
|
<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-04-26 13:44:14 +00:00
|
|
|
<field name="priority" invisible="1"/>
|
|
|
|
<field name="date_closed" invisible="1"/>
|
|
|
|
<field name="opportunity_id" invisible="1"/>
|
|
|
|
<field name="canal_id" invisible="1"/>
|
2010-04-22 13:31:15 +00:00
|
|
|
<field name="duration" sum="Total Duration"/>
|
|
|
|
<field name="date" 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-01-20 08:41:20 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-05-05 07:21:54 +00:00
|
|
|
<form string="Cases">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="month" select="1"/>
|
|
|
|
<field name="user_id" select="1"/>
|
|
|
|
<field name="section_id" select="1"/>
|
|
|
|
<field name="nbr" select="1"/>
|
|
|
|
<field name="delay_close"/>
|
2010-01-20 08:41:20 +00:00
|
|
|
<field name="amount_revenue"/>
|
|
|
|
<field name="amount_revenue_prob"/>
|
|
|
|
<field name="probability"/>
|
2010-05-05 07:21:54 +00:00
|
|
|
<field name="state" select="1"/>
|
|
|
|
</form>
|
2010-01-20 08:41:20 +00:00
|
|
|
</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-05-05 07:21:54 +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-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-26 13:44:14 +00:00
|
|
|
<field name="priority" />
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="opportunity_id"/>
|
|
|
|
<field name="canal_id" widget="selection" />
|
2010-04-22 13:31:15 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="partner_id"/>
|
2010-05-03 07:30:21 +00:00
|
|
|
<field name="partner_address_id"/>
|
2010-04-26 13:44:14 +00:00
|
|
|
<newline/>
|
|
|
|
<field name="date_closed"/>
|
2010-04-22 13:31:15 +00:00
|
|
|
<field name="date"/>
|
2010-04-22 13:38:38 +00:00
|
|
|
</group>
|
2010-04-21 10:12:25 +00:00
|
|
|
</xpath>
|
2010-04-26 13:44:14 +00:00
|
|
|
<xpath
|
|
|
|
expr='//search[@string="Search"]/group[@string="Group By..."]/filter[@string="Category"]'
|
|
|
|
position='after'>
|
|
|
|
<filter string="Priority" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'priority'}" />
|
|
|
|
<separator orientation="vertical"/>
|
2010-04-28 14:53:19 +00:00
|
|
|
<filter string="Opportunities" icon="terp-sale" domain="[]"
|
2010-04-26 13:44:14 +00:00
|
|
|
context="{'group_by':'opportunity_id'}" />
|
|
|
|
<filter string="Channel" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'canal_id'}" />
|
2010-04-22 13:31:15 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Partner" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'partner_id'}" />
|
2010-05-03 09:48:11 +00:00
|
|
|
<filter string="Contact Name" icon="terp-sale" domain="[]"
|
2010-05-03 07:30:21 +00:00
|
|
|
context="{'group_by':'partner_address_id'}" />
|
2010-04-26 13:44:14 +00:00
|
|
|
</xpath>
|
2010-04-21 10:12:25 +00:00
|
|
|
</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>
|