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 Tree View -->
|
2010-01-20 07:30:06 +00:00
|
|
|
|
2010-03-02 14:06:35 +00:00
|
|
|
<record id="view_report_crm_claim_tree" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.claim.report.tree</field>
|
|
|
|
<field name="model">crm.claim.report</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-09-27 08:38:39 +00:00
|
|
|
<tree string="Claims" create="false">
|
2010-09-28 21:53:48 +00:00
|
|
|
<field name="name" invisible="1"/>
|
|
|
|
<field name="month" invisible="1"/>
|
2013-03-25 16:51:25 +00:00
|
|
|
<field name="section_id" invisible="1" groups="base.group_multi_salesteams"/>
|
2010-04-21 10:12:25 +00:00
|
|
|
<field name="user_id" invisible="1"/>
|
|
|
|
<field name="company_id" invisible="1"/>
|
|
|
|
<field name="partner_id" invisible="1"/>
|
|
|
|
<field name="day" invisible="1"/>
|
2010-09-28 21:53:48 +00:00
|
|
|
<field name="nbr" string="#Claim" sum="#Claim"/>
|
2010-12-23 10:57:05 +00:00
|
|
|
<field name="email" sum="# Mails"/>
|
2010-09-28 21:53:48 +00:00
|
|
|
<field name="delay_close" avg="Avg Closing Delay"/>
|
|
|
|
<field name="delay_expected"/>
|
|
|
|
<field name="state" invisible="1"/>
|
|
|
|
<field name="stage_id" invisible="1"/>
|
|
|
|
<field name="categ_id" invisible="1"/>
|
|
|
|
<field name="priority" invisible="1"/>
|
|
|
|
<field name="type_action" invisible="1"/>
|
2010-03-02 14:06:35 +00:00
|
|
|
</tree>
|
2010-01-20 07:30:06 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
|
|
|
<!-- 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">
|
2010-03-03 07:15:21 +00:00
|
|
|
<graph orientation="horizontal" string="Claims" type="bar">
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="state"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field group="True" name="user_id"/>
|
|
|
|
</graph>
|
|
|
|
</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">
|
2012-07-20 07:29:40 +00:00
|
|
|
<filter icon="terp-document-new" string="New" domain="[('state','=','draft')]"/>
|
|
|
|
<filter icon="terp-camera_test" string="Open" domain="[('state','=','open')]"/>
|
|
|
|
<filter icon="terp-gtk-media-pause" string="Pending" domain="[('state','=','pending')]"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="My Sales Team(s)" icon="terp-personal+" context="{'invisible_section': False}" domain="[('section_id.user_id','=',uid)]" help="My Sales Team(s)" />
|
|
|
|
<separator/>
|
|
|
|
<filter string="My Company" icon="terp-go-home" context="{'invisible_section': False}" domain="[('section_id.user_id.company_id','=',uid)]" help="My company"/>
|
|
|
|
<separator/>
|
|
|
|
<filter icon="terp-personal" string="My Case(s)" help="My Case(s)" domain="[('user_id','=',uid)]" />
|
2012-07-31 11:28:04 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
|
|
<field name="user_id" string="Salesperson"/>
|
2013-03-25 16:51:25 +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...">
|
2010-10-04 06:03:16 +00:00
|
|
|
<field name="partner_id"/>
|
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" />
|
2012-07-20 07:29:40 +00:00
|
|
|
<filter icon="terp-dialog-close" string="Done" domain="[('state','=','done')]"/>
|
|
|
|
<filter icon="gtk-cancel" string="Cancel" domain="[('state','=','cancel')]"/>
|
2010-10-04 05:47:57 +00:00
|
|
|
</group>
|
|
|
|
<group expand="1" string="Group By...">
|
2012-07-20 07:29:40 +00:00
|
|
|
<filter string="Salesperson" name="Salesperson" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Sales Team" icon="terp-personal+" domain="[]" context="{'group_by':'section_id'}" />
|
|
|
|
<filter string="Partner" name="partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}" />
|
|
|
|
<filter string="Stage" icon="terp-stage" domain="[]" context="{'group_by':'stage_id'}" />
|
|
|
|
<filter string="Priority" icon="terp-rating-rated" domain="[]" context="{'group_by':'priority'}" />
|
|
|
|
<filter string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'categ_id'}" />
|
|
|
|
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type_action'}" help="Action Type"/>
|
|
|
|
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}" />
|
|
|
|
<filter string="Company" icon="terp-go-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
|
|
|
<filter string="Day" icon="terp-go-today" domain="[]" context="{'group_by':'day'}" help="Date of claim"/>
|
|
|
|
<filter string="Month" icon="terp-go-month" domain="[]" context="{'group_by':'month'}" help="Month of claim"/>
|
|
|
|
<filter string="Year" icon="terp-go-year" domain="[]" context="{'group_by':'name'}" help="Year 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>
|
2010-10-04 05:47:57 +00:00
|
|
|
<field name="view_mode">tree,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>
|
2010-03-05 05:33:51 +00:00
|
|
|
<field name="view_id" ref="view_report_crm_claim_tree"/>
|
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_tree">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_report_crm_claim_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_report_crm_claim"/>
|
|
|
|
</record>
|
|
|
|
|
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>
|
|
|
|
|
2012-02-29 06:25:14 +00:00
|
|
|
<menuitem id="base.menu_project_report" name="Project"
|
2012-04-25 11:51:39 +00:00
|
|
|
groups="base.group_no_one"
|
2012-02-29 06:25:14 +00:00
|
|
|
parent="base.menu_reporting" sequence="30"/>
|
|
|
|
|
2010-10-04 05:47:57 +00:00
|
|
|
<menuitem name="Claims Analysis" id="menu_report_crm_claim_tree"
|
2012-02-29 06:46:24 +00:00
|
|
|
action="action_report_crm_claim" parent="base.menu_project_report" sequence="15"/>
|
2010-01-29 07:35:52 +00:00
|
|
|
|
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>
|