2010-01-20 07:30:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
2010-03-18 08:46:13 +00:00
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- CRM Claim Report Graph View -->
|
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_claim_graph" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.claim.report.graph</field>
|
|
|
|
<field name="model">crm.claim.report</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-01-02 08:42:27 +00:00
|
|
|
<graph string="Claims" type="pivot" stacked="True">
|
2013-12-24 10:27:06 +00:00
|
|
|
<field name="stage_id" type="row"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="section_id" type="col"/>
|
2014-08-22 11:53:46 +00:00
|
|
|
<field name="nbr" type="measure"/>
|
2010-01-20 07:30:06 +00:00
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2014-08-21 10:53:47 +00:00
|
|
|
<!-- CRM Claim Report Custom reports (aka filters) -->
|
|
|
|
<record id="filter_report_crm_claim_workload" model="ir.filters">
|
|
|
|
<field name="name">Workload</field>
|
|
|
|
<field name="model_id">crm.claim.report</field>
|
|
|
|
<field name="user_id" eval="False"/>
|
|
|
|
<field name="context">{'group_by': ['subject'], 'measures': ['email', 'delay_close']}</field>
|
|
|
|
</record>
|
|
|
|
|
2010-03-18 08:46:13 +00:00
|
|
|
<!-- CRM Claim Report Search View -->
|
|
|
|
|
2010-09-28 21:53:48 +00:00
|
|
|
<record id="view_report_crm_claim_filter" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.claim.report.select</field>
|
|
|
|
<field name="model">crm.claim.report</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="arch" type="xml">
|
2010-05-21 12:41:08 +00:00
|
|
|
<search string="Search">
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="My Case(s)" help="My Case(s)" domain="[('user_id','=',uid)]" />
|
|
|
|
<filter string="My Sales Team(s)" context="{'invisible_section': False}" domain="[('section_id.user_id','=',uid)]" help="My Sales Team(s)" groups="base.group_multi_salesteams"/>
|
2012-07-20 07:29:40 +00:00
|
|
|
<separator/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="My Company" context="{'invisible_section': False}" domain="[('company_id.user_ids','=',uid)]" help="My Company"/>
|
2012-07-20 07:29:40 +00:00
|
|
|
<separator/>
|
2012-07-31 11:28:04 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
|
|
<field name="user_id" string="Salesperson"/>
|
2013-04-03 08:10:09 +00:00
|
|
|
<field name="section_id" string="Sales Team" context="{'invisible_section': False}"
|
|
|
|
groups="base.group_multi_salesteams"/>
|
2012-04-25 11:51:39 +00:00
|
|
|
<group expand="0" string="Extended Filters...">
|
2013-04-20 02:26:42 +00:00
|
|
|
<field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/>
|
2012-07-20 07:29:40 +00:00
|
|
|
<field name="stage_id" domain="[('section_ids', '=', 'section_id')]"/>
|
|
|
|
<field name="categ_id" domain="[('object_id.model', '=', 'crm.claim')]"/>
|
|
|
|
<field name="priority"/>
|
|
|
|
<field name="type_action"/>
|
2012-05-22 06:19:41 +00:00
|
|
|
<field name="create_date" />
|
2010-10-04 06:03:16 +00:00
|
|
|
<field name="date_closed" />
|
|
|
|
<field name="date_deadline" />
|
2010-10-04 05:47:57 +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="Salesperson" context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Sales Team" context="{'group_by':'section_id'}" groups="base.group_multi_salesteams"/>
|
|
|
|
<filter string="Partner" name="partner" context="{'group_by':'partner_id'}" />
|
|
|
|
<filter string="Stage" context="{'group_by':'stage_id'}" />
|
|
|
|
<filter string="Category" context="{'group_by':'categ_id'}" />
|
|
|
|
<filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="Claim Month" context="{'group_by':'claim_date:month'}" help="Month of claim"/>
|
2010-10-04 05:47:57 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
2010-01-20 07:30:06 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<!-- CRM Claim Report Action -->
|
2010-03-03 07:31:24 +00:00
|
|
|
|
2010-03-03 08:54:24 +00:00
|
|
|
<record id="action_report_crm_claim" model="ir.actions.act_window">
|
2010-09-21 07:17:53 +00:00
|
|
|
<field name="name">Claims Analysis</field>
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="res_model">crm.claim.report</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="view_type">form</field>
|
2014-01-02 08:42:27 +00:00
|
|
|
<field name="view_mode">graph</field>
|
2011-11-10 13:17:32 +00:00
|
|
|
<field name="context">{"search_default_year":1,"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]}</field>
|
2014-01-02 08:42:27 +00:00
|
|
|
<field name="view_id" ref="view_report_crm_claim_graph"/>
|
2010-03-05 15:42:53 +00:00
|
|
|
<field name="search_view_id" ref="view_report_crm_claim_filter"/>
|
2010-10-15 14:05:28 +00:00
|
|
|
<field name="help">Have a general overview of all claims processed in the system by sorting them with specific criteria.</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-10-04 05:47:57 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_claim_graph">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="view_report_crm_claim_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_claim"/>
|
|
|
|
</record>
|
|
|
|
|
2010-10-04 05:47:57 +00:00
|
|
|
<menuitem name="Claims Analysis" id="menu_report_crm_claim_tree"
|
2014-07-22 17:13:13 +00:00
|
|
|
action="action_report_crm_claim" parent="base.next_id_64" sequence="15"/>
|
2010-01-20 07:30:06 +00:00
|
|
|
|
2010-03-18 08:46:13 +00:00
|
|
|
</data>
|
2010-03-03 07:15:21 +00:00
|
|
|
</openerp>
|