5 Board for statistical view of the sections
7 <record model="ir.ui.view" id="view_crm_lead_stage_graph1">
8 <field name="name">Leads By Stage - Graph</field>
9 <field name="model">report.crm.case.section.stage</field>
10 <field name="type">graph</field>
11 <field name="arch" type="xml">
12 <graph string="Leads By Stage" type="pie">
13 <field name="stage_id"/>
14 <field name="nbr" operator="+"/>
15 <field name="state" group="True"/>
20 <record model="ir.ui.view" id="view_crm_case_categ_graph">
21 <field name="name">report.crm.case.categ.graph</field>
22 <field name="model">report.crm.case.categ</field>
23 <field name="type">graph</field>
24 <field name="arch" type="xml">
25 <graph string="Cases by Sections and Categories" type="bar" orientation="horizontal">
26 <field name="categ_id"/>
27 <field name="nbr" operator="+"/>
28 <field name="state" group="True"/>
33 <act_window name="Opportunities By Categories"
34 domain="[('section_id', '=', 'Opportunities'),('state','!=','done'),('state','!=','cancel')]"
35 res_model="report.crm.case.categ"
37 view_mode="graph,tree,form"
38 view_id="view_crm_case_categ_graph"
39 id="act_oppor_categ"/>
41 <record model="ir.actions.act_window" id="act_leads_state">
42 <field name="res_model">report.crm.case.section.stage</field>
43 <field name="view_type">form</field>
44 <field name="view_mode">graph,tree,form</field>
45 <field name="view_id" ref="view_crm_lead_stage_graph1"/>
46 <field name="domain">[('section_id', '=', 'Leads'),('state','!=','done'),('state','!=','cancel')]</field>
49 <act_window name="Jobs Requests Of The Month by Applied Job"
50 domain="[('section_id', '=', 'Jobs'),('name','=',time.strftime('%Y-%m-01')),('state','!=','done'),('state','!=','cancel')]"
51 res_model="report.crm.case.categ"
53 view_mode="graph,tree,form"
54 view_id="view_crm_case_categ_graph"
57 <act_window name="Leads Of The Month By User"
58 domain="[('section_id', '=', 'Leads'),('name','=',time.strftime('%Y-%m-01')),('state','!=','cancel')]"
59 res_model="report.crm.case.user"
61 view_mode="graph,tree,form"
62 id="act_leads_month_user"/>
64 <record model="ir.ui.view" id="board_crm_statistical_form">
65 <field name="name">CRM - Statistical Dashboard Form</field>
66 <field name="model">board.board</field>
67 <field name="type">form</field>
68 <field name="arch" type="xml">
69 <form string="Statistics Dashboard">
73 string="Opportunities By Categories"
74 name="%(act_oppor_categ)d"
80 string="Leads By Stage"
81 name="%(act_leads_state)d"
88 string="Jobs Requests Of The Month by Applied Job"
89 name="%(act_jobs_categ)d"
94 string="Leads Of The Month By User"
95 name="%(act_leads_month_user)d"
104 <record model="ir.actions.act_window" id="open_board_statistical_dash">
105 <field name="name">CRM - Statistics Dashboard</field>
106 <field name="res_model">board.board</field>
107 <field name="view_type">form</field>
108 <field name="view_mode">form</field>
109 <field name="usage">menu</field>
110 <field name="view_id" ref="board_crm_statistical_form"/>
114 name="CRM Configuration" parent="board.dashboard_menu"
115 id="menu_board_crm_config"
116 groups="crm.group_crm_manager"/>
118 name="Statistics Dashboard" parent="menu_board_crm_config"
119 action="open_board_statistical_dash"
121 id="menu_board_statistics_dash"