2010-09-21 10:15:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Opportunity tree view -->
|
|
|
|
<record id="view_report_crm_lead_assign_filter" model="ir.ui.view">
|
|
|
|
<field name="name">crm.lead.report.assign.select</field>
|
|
|
|
<field name="model">crm.lead.report.assign</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Leads Analysis">
|
2013-03-25 16:51:25 +00:00
|
|
|
<field name="section_id" context="{'invisible_section': False}" groups="base.group_multi_salesteams"/>
|
2012-07-20 09:19:50 +00:00
|
|
|
<field name="grade_id"/>
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="partner_assigned_id"/>
|
|
|
|
<group expand="0" string="Extended Filters...">
|
2010-09-27 06:23:07 +00:00
|
|
|
<field name="partner_id"/>
|
2012-07-31 06:02:02 +00:00
|
|
|
<separator/>
|
2011-08-17 09:39:17 +00:00
|
|
|
<field name="stage_id" widget="selection" domain="[('section_ids', '=', 'section_id')]"/>
|
2012-07-31 06:02:02 +00:00
|
|
|
<separator />
|
2010-09-27 06:23:07 +00:00
|
|
|
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
|
|
|
|
<field name="opening_date"/>
|
|
|
|
<field name="date_closed"/>
|
2012-07-31 06:02:02 +00:00
|
|
|
</group>
|
2014-05-22 09:44:35 +00:00
|
|
|
<group expand="1" string="Group By">
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Salesperson" name="user"
|
|
|
|
context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Sales Team" context="{'group_by':'section_id'}"
|
|
|
|
groups="base.group_multi_salesteams"/>
|
|
|
|
<filter string="Country" context="{'group_by':'country_id'}" />
|
|
|
|
<filter string="Stage" context="{'group_by':'stage_id'}"/>
|
|
|
|
<filter string="Company" context="{'group_by':'company_id'}" />
|
|
|
|
<separator/>
|
|
|
|
<filter string="Assign Month" context="{'group_by':'date_assign:month'}"/>
|
2012-07-20 09:19:50 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
2010-09-21 10:15:44 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-12-31 06:42:59 +00:00
|
|
|
<!-- Crm Lead Assign report Graph View -->
|
2010-09-21 10:15:44 +00:00
|
|
|
|
2010-12-31 06:42:59 +00:00
|
|
|
<record id="view_report_crm_lead_assign_graph" model="ir.ui.view">
|
|
|
|
<field name="name">crm.lead.assign.graph</field>
|
|
|
|
<field name="model">crm.lead.report.assign</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-01-29 10:39:29 +00:00
|
|
|
<graph string="Lead Assign" type="pivot" stacked="True">
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="stage_id" type="row"/>
|
|
|
|
<field name="date_assign" interval="month" type="col"/>
|
|
|
|
<field name="delay_open" type="measure"/>
|
|
|
|
<field name="probability" type="measure"/>
|
2010-12-31 06:42:59 +00:00
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-09-21 10:15:44 +00:00
|
|
|
|
|
|
|
<!-- Leads by user and section Action -->
|
|
|
|
|
|
|
|
<record id="action_report_crm_opportunity_assign" model="ir.actions.act_window">
|
|
|
|
<field name="name">Opp. Assignment Analysis</field>
|
|
|
|
<field name="res_model">crm.lead.report.assign</field>
|
|
|
|
<field name="view_type">form</field>
|
2014-01-29 10:39:29 +00:00
|
|
|
<field name="context">{'default_type': 'opportunity', 'group_by_no_leaf':1,'group_by':[]}</field>
|
2013-12-31 13:07:52 +00:00
|
|
|
<field name="view_mode">graph</field>
|
2010-09-21 10:15:44 +00:00
|
|
|
<field name="domain">[('type', '=', 'opportunity')]</field>
|
|
|
|
</record>
|
|
|
|
|
2010-12-31 06:42:59 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_lead_assign_graph">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="view_report_crm_lead_assign_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_opportunity_assign"/>
|
2012-02-28 05:20:06 +00:00
|
|
|
</record>
|
2010-09-21 10:15:44 +00:00
|
|
|
|
|
|
|
<menuitem id="menu_report_crm_opportunities_assign_tree"
|
2012-02-28 05:20:06 +00:00
|
|
|
parent="base.next_id_64" action="action_report_crm_opportunity_assign" sequence="20"/>
|
2010-09-21 10:15:44 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|