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="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-03-03 08:54:24 +00:00
|
|
|
<tree string="Claims">
|
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="day" invisible="1"/>
|
|
|
|
<field name="nbr" string="#Claim" sum="#Claim"/>
|
|
|
|
<field name="delay_close" avg="Avg Closing Delay"/>
|
|
|
|
<field name="state" invisible="1"/>
|
2010-03-03 11:35:55 +00:00
|
|
|
<field name="stage_id" invisible="1"/>
|
|
|
|
<field name="categ_id" invisible="1"/>
|
2010-04-23 13:30:26 +00:00
|
|
|
<field name="priority" invisible="1"/>
|
|
|
|
<field name="type_id" invisible="1"/>
|
2010-04-26 10:01:40 +00:00
|
|
|
<field name="date_closed" invisible="1"/>
|
|
|
|
<field name="canal_id" invisible="1"/>
|
|
|
|
<field name="som" invisible="1"/>
|
2010-04-28 10:04:04 +00:00
|
|
|
<field name="claim_date" invisible="1"/>
|
|
|
|
<field name="deadline_date" invisible="1"/>
|
2010-05-03 09:48:11 +00:00
|
|
|
<field name="partner_address_id" string="Contact Name" 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 Form View -->
|
|
|
|
|
2010-03-05 15:42:53 +00:00
|
|
|
<record id="view_report_crm_claim_form" model="ir.ui.view">
|
2010-03-05 13:17:53 +00:00
|
|
|
<field name="name">crm.claim.report.form</field>
|
|
|
|
<field name="model">crm.claim.report</field>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-05-06 06:44:00 +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"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="delay_close"/>
|
2010-01-20 07:30:06 +00:00
|
|
|
<field name="amount_revenue"/>
|
|
|
|
<field name="amount_costs"/>
|
|
|
|
<field name="amount_revenue_prob"/>
|
|
|
|
<field name="probability"/>
|
2010-05-06 06:44:00 +00:00
|
|
|
<field name="state" select="1"/>
|
|
|
|
</form>
|
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="type">graph</field>
|
|
|
|
<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-05-06 06:44:00 +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="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="stage_id" widget="selection" domain="[('object_id.model', '=', 'crm.claim')]"/>
|
|
|
|
<field name="categ_id" widget="selection" domain="[('object_id.model', '=', 'crm.claim')]"/>
|
2010-04-23 13:30:26 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="priority" />
|
|
|
|
<field name="type_id" widget="selection" domain="[('object_id.model', '=', 'crm.claim')]"/>
|
2010-04-28 10:04:04 +00:00
|
|
|
<newline/>
|
2010-04-26 10:01:40 +00:00
|
|
|
<field name="canal_id" widget="selection" />
|
|
|
|
<field name="som" widget="selection" />
|
2010-04-28 10:04:04 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="partner_id" />
|
|
|
|
<field name="partner_address_id" />
|
2010-04-26 10:01:40 +00:00
|
|
|
<newline/>
|
2010-04-28 10:04:04 +00:00
|
|
|
<field name="claim_date" />
|
2010-04-26 10:01:40 +00:00
|
|
|
<field name="date_closed" />
|
2010-04-28 10:04:04 +00:00
|
|
|
<field name="deadline_date" />
|
2010-04-22 13:38:38 +00:00
|
|
|
</group>
|
2010-04-21 10:12:25 +00:00
|
|
|
</xpath>
|
2010-03-18 08:46:13 +00:00
|
|
|
<xpath
|
2010-04-18 15:32:44 +00:00
|
|
|
expr='//search[@string="Search"]/group[@string="Group By..."]/filter[@string="State"]'
|
|
|
|
position='after'>
|
|
|
|
<filter string="Stage" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'stage_id'}" />
|
2010-03-18 08:46:13 +00:00
|
|
|
</xpath>
|
2010-04-23 13:30:26 +00:00
|
|
|
<xpath
|
|
|
|
expr='//search[@string="Search"]/group[@string="Group By..."]/filter[@string="Category"]'
|
|
|
|
position='after'>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Priority" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'priority'}" />
|
|
|
|
<filter string="Type" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'type_id'}" />
|
2010-04-26 10:01:40 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Channel" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'canal_id'}" />
|
|
|
|
<filter string="State of Mind" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'som'}" />
|
2010-04-28 10:04:04 +00:00
|
|
|
<newline/>
|
|
|
|
<filter string="Partner" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'partner_id'}" />
|
|
|
|
<filter string="Contact" icon="terp-sale" domain="[]"
|
|
|
|
context="{'group_by':'partner_address_id'}" />
|
2010-04-23 13:30:26 +00:00
|
|
|
</xpath>
|
2010-04-21 10:12:25 +00:00
|
|
|
</data>
|
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">
|
|
|
|
<field name="name">Claims</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-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 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-03-03 07:31:24 +00:00
|
|
|
|
2010-01-20 07:30:06 +00:00
|
|
|
</record>
|
2010-03-18 08:46:13 +00:00
|
|
|
|
2010-04-18 15:32:44 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_claim_tree">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window.view" id="action_report_crm_claim_graph">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<menuitem name="Claims" id="menu_report_crm_claim_tree"
|
|
|
|
groups="base.group_extended"
|
|
|
|
action="action_report_crm_claim" parent="base.next_id_64" />
|
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>
|