5 # Cases by section and category2 of case
7 <!-- <menuitem id="next_id_64" name="Reporting" parent="crm.menu_crm"-->
8 <!-- sequence="50"/>-->
10 <record model="ir.ui.view" id="view_crm_case_section_categ_tree">
11 <field name="name">CRM Report - Sections and Type(Tree)</field>
12 <field name="model">report.crm.case.section.categ2</field>
13 <field name="type">tree</field>
14 <field name="arch" type="xml">
15 <tree string="Cases by Section and Type">
18 <field name="user_id"/>
19 <field name="section_id"/>
20 <field name="category2_id"/>
21 <field name="stage_id"/>
22 <field name="amount_revenue"/>
24 <field name="delay_close"/>
29 <record model="ir.ui.view" id="view_crm_case_section_categ_form">
30 <field name="name">CRM Report - Sections and Type(Form)</field>
31 <field name="model">report.crm.case.section.categ2</field>
32 <field name="type">form</field>
33 <field name="arch" type="xml">
34 <form string="Cases by Section and Category2">
37 <field name="user_id"/>
38 <field name="section_id" select="1" widget="selection"/>
39 <field name="category2_id" select="1"/>
40 <field name="stage_id"/>
41 <field name="amount_revenue"/>
42 <field name="nbr" select="1"/>
43 <field name="state" select="1"/>
44 <field name="delay_close"/>
48 <record model="ir.ui.view" id="view_crm_case_section_categ_graph">
49 <field name="name">CRM Report - Sections and Type(Graph)</field>
50 <field name="model">report.crm.case.section.categ2</field>
51 <field name="type">graph</field>
52 <field name="arch" type="xml">
53 <graph string="Cases by Section and Type" type="bar" orientation="horizontal">
54 <field name="category2_id"/>
55 <field name="amount_revenue" operator="+"/>
56 <field name="section_id" group="True"/>
61 <record id="view_crm_case_section_categ_filter" model="ir.ui.view">
62 <field name="name">CRM Report - Sections and Type(Select)</field>
63 <field name="model">report.crm.case.section.categ2</field>
64 <field name="type">search</field>
65 <field name="arch" type="xml">
66 <search string="Cases by Section and Type">
67 <group col="10" colspan="4">
68 <filter string="This Year" icon="terp-hr" domain="[('name','=',time.localtime()[0])]" help="Cases by Section and Type for this year"/>
69 <filter string="This Month" icon="terp-hr" domain="[('month','=',time.localtime()[1])]" help="Cases by Section and Type for this month"/>
70 <separator orientation="vertical"/>
71 <field name="section_id" default="context.get('section_id', False)" select="1" widget="selection"/>
72 <field name="category2_id" select="1"/>
73 <field name="nbr" select="1"/>
74 <field name="state" select="1"/>
80 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_tree">
81 <field name="res_model">report.crm.case.section.categ2</field>
82 <field name="view_type">form</field>
83 <field name="view_mode">graph,tree</field>
84 <field name="search_view_id" ref="view_crm_case_section_categ_filter"/>
86 <!-- <menuitem parent="next_id_64" name="Cases by Section and Type" action="action_report_crm_case_section_categ_tree" id="menu_crm_case_section_categ_tree"/>-->
89 # Cases by section and stage
92 <record model="ir.ui.view" id="view_crm_case_section_stage_tree">
93 <field name="name">CRM Report - Sections and Stage(Tree)</field>
94 <field name="model">report.crm.case.section.stage</field>
95 <field name="type">tree</field>
96 <field name="arch" type="xml">
97 <tree string="Cases by Section and Stage">
100 <field name="user_id"/>
101 <field name="section_id"/>
102 <field name="stage_id"/>
103 <field name="amount_revenue"/>
105 <field name="delay_close"/>
106 <field name="state"/>
110 <record model="ir.ui.view" id="view_crm_case_section_stage_form">
111 <field name="name">CRM Report - Sections and Stage(Form)</field>
112 <field name="model">report.crm.case.section.stage</field>
113 <field name="type">form</field>
114 <field name="arch" type="xml">
115 <form string="Cases by Section and Stage">
117 <field name="month"/>
118 <field name="user_id"/>
119 <field name="section_id" select="1" widget="selection"/>
120 <field name="stage_id"/>
121 <field name="amount_revenue"/>
122 <field name="nbr" select="1"/>
123 <field name="state" select="1"/>
124 <field name="delay_close"/>
128 <record model="ir.ui.view" id="view_crm_case_section_stage_graph">
129 <field name="name">CRM Report - Sections and Stage(Graph)</field>
130 <field name="model">report.crm.case.section.stage</field>
131 <field name="type">graph</field>
132 <field name="arch" type="xml">
133 <graph string="Cases by Section and Stage" type="bar" orientation="horizontal">
134 <field name="stage_id"/>
135 <field name="amount_revenue" operator="+"/>
136 <field name="section_id" group="True"/>
140 <record id="view_crm_case_section_stage_filter" model="ir.ui.view">
141 <field name="name">CRM Report - Sections and Stage(Select)</field>
142 <field name="model">report.crm.case.section.stage</field>
143 <field name="type">search</field>
144 <field name="arch" type="xml">
145 <search string="Cases by Section and Stage">
146 <group col="8" colspan="4">
147 <filter string="This Year" icon="terp-hr" domain="[('name','=',time.localtime()[0])]" help="Cases by Section and Stage for this year"/>
148 <filter string="This Month" icon="terp-hr" domain="[('month','=',time.localtime()[1])]" help="Cases by Section and Stage for this month"/>
149 <separator orientation="vertical"/>
150 <field name="section_id" select="1" widget="selection"/>
151 <field name="nbr" select="1"/>
152 <field name="state" select="1"/>
158 <record model="ir.actions.act_window" id="action_report_crm_case_section_stage_tree">
159 <field name="res_model">report.crm.case.section.stage</field>
160 <field name="view_type">form</field>
161 <field name="view_mode">graph,tree</field>
162 <field name="search_view_id" ref="view_crm_case_section_stage_filter"/>
164 <!-- <menuitem parent="next_id_64" name="Cases by Section and Stage" action="action_report_crm_case_section_stage_tree" id="menu_crm_case_section_stage_tree"/>-->
167 # Cases by section, category and stage
170 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_tree">
171 <field name="name">CRM Report - Section, Category and Stage(Tree)</field>
172 <field name="model">report.crm.case.section.categ.stage</field>
173 <field name="type">tree</field>
174 <field name="arch" type="xml">
175 <tree string="Cases by Section, Category and Stage">
177 <field name="month"/>
178 <field name="user_id"/>
179 <field name="section_id"/>
180 <field name="categ_id"/>
181 <field name="stage_id"/>
183 <field name="delay_close"/>
184 <field name="state"/>
188 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_form">
189 <field name="name">CRM Report - Section, Category and Stage(Form)</field>
190 <field name="model">report.crm.case.section.categ.stage</field>
191 <field name="type">form</field>
192 <field name="arch" type="xml">
193 <form string="Cases by Section, Category and Stage">
195 <field name="month"/>
196 <field name="user_id"/>
197 <field name="section_id" select="1" widget="selection"/>
198 <field name="categ_id"/>
199 <field name="stage_id"/>
200 <field name="nbr" select="1"/>
201 <field name="state" select="1"/>
202 <field name="delay_close"/>
207 <record id="view_crm_case_section_categ_stage_filter" model="ir.ui.view">
208 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
209 <field name="model">report.crm.case.section.categ.stage</field>
210 <field name="type">search</field>
211 <field name="arch" type="xml">
212 <search string="Cases by Section, Category and Stage">
213 <group col='8' colspan='4'>
214 <filter string="This Year" icon="terp-hr" domain="[('name','=',time.localtime()[0])]" help="Cases by Section, Category and Stage for this year"/>
215 <filter string="This Month" icon="terp-hr" domain="[('month','=',time.localtime()[1])]" help="Cases by Section, Category and Stage for this month"/>
216 <separator orientation="vertical"/>
217 <field name="section_id" select="1" widget="selection"/>
218 <field name="nbr" select="1"/>
219 <field name="state" select="1"/>
225 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_graph">
226 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
227 <field name="model">report.crm.case.section.categ.stage</field>
228 <field name="type">graph</field>
229 <field name="arch" type="xml">
230 <graph string="Cases by Section, Category and Stage" type="bar" orientation="horizontal">
231 <field name="categ_id"/>
232 <field name="nbr" operator="+"/>
233 <field name="section_id" group="True"/>
237 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_stage_tree">
238 <field name="res_model">report.crm.case.section.categ.stage</field>
239 <field name="view_type">form</field>
240 <field name="view_mode">tree,graph</field>
241 <field name="search_view_id" ref="view_crm_case_section_categ_stage_filter"/>
243 <!-- <menuitem parent="next_id_64" name="Cases by Section, Category and Stage" action="action_report_crm_case_section_categ_stage_tree" id="menu_crm_case_section_categ_stage_tree"/>-->
246 # Cases by section, category and category2
249 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_tree">
250 <field name="name">CRM Report - Section, Category and Type(Tree)</field>
251 <field name="model">report.crm.case.section.categ.categ2</field>
252 <field name="type">tree</field>
253 <field name="arch" type="xml">
254 <tree string="Cases by Section, Category and Type">
256 <field name="month"/>
257 <field name="user_id"/>
258 <field name="section_id"/>
259 <field name="categ_id"/>
260 <field name="category2_id"/>
261 <field name="stage_id"/>
263 <field name="delay_close"/>
264 <field name="state"/>
268 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_form">
269 <field name="name">CRM Report - Section, Category and Type(Form)</field>
270 <field name="model">report.crm.case.section.categ.categ2</field>
271 <field name="type">form</field>
272 <field name="arch" type="xml">
273 <form string="Cases by Section, Category and Type">
275 <field name="month"/>
276 <field name="user_id"/>
277 <field name="section_id" select="1" widget="selection"/>
278 <field name="categ_id"/>
279 <field name="category2_id"/>
280 <field name="stage_id"/>
281 <field name="nbr" select="1"/>
282 <field name="state" select="1"/>
283 <field name="delay_close"/>
288 <record id="view_crm_case_section_categ_categ2_filter" model="ir.ui.view">
289 <field name="name">CRM Report - Section, Category and Type(Select)</field>
290 <field name="model">report.crm.case.section.categ.categ2</field>
291 <field name="type">search</field>
292 <field name="arch" type="xml">
293 <search string="Search Cases by User">
294 <group col='12' colspan='4'>
295 <filter string="This Year" icon="terp-hr" domain="[('name','=',time.localtime()[0])]" help="Cases by User for this year"/>
296 <filter string="This Month" icon="terp-hr" domain="[('month','=',time.localtime()[1])]" help="Cases by User for this month"/>
297 <separator orientation="vertical"/>
298 <field name="section_id" select="1" widget="selection"/>
299 <field name="nbr" select="1"/>
300 <field name="state" select="1"/>
306 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_graph">
307 <field name="name">CRM Report - Section, Category and Type(Select)</field>
308 <field name="model">report.crm.case.section.categ.categ2</field>
309 <field name="type">graph</field>
310 <field name="arch" type="xml">
311 <graph string="Cases by Section, Category and Type" type="bar" orientation="horizontal">
312 <field name="category2_id"/>
313 <field name="nbr" operator="+"/>
314 <field name="section_id" group="True"/>
318 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_categ2_tree">
319 <field name="res_model">report.crm.case.section.categ.categ2</field>
320 <field name="view_type">form</field>
321 <field name="view_mode">tree,graph</field>
322 <field name="search_view_id" ref="view_crm_case_section_categ_categ2_filter"/>
324 <!-- <menuitem parent="next_id_64" name="Cases by Section, Category and Type" action="action_report_crm_case_section_categ_categ2_tree" id="menu_crm_case_section_categ_categ2_tree"/>-->