5 <!-- Cases by section and category2 of case Tree View -->
7 <record model="ir.ui.view" id="view_crm_case_section_categ_tree">
8 <field name="name">CRM Report - Teams and Type(Tree)</field>
9 <field name="model">report.crm.case.section.categ2</field>
10 <field name="type">tree</field>
11 <field name="arch" type="xml">
12 <tree string="Cases by Team and Type">
15 <field name="user_id"/>
16 <field name="section_id"/>
17 <field name="category2_id"/>
18 <field name="stage_id"/>
19 <field name="amount_revenue"/>
21 <field name="delay_close"/>
27 <!-- Cases by section and category2 of case Form View -->
29 <record model="ir.ui.view" id="view_crm_case_section_categ_form">
30 <field name="name">CRM Report - Teams 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 Team and Category2">
37 <field name="user_id"/>
38 <field name="section_id" widget="selection"/>
39 <field name="category2_id" />
40 <field name="stage_id"/>
41 <field name="amount_revenue"/>
43 <field name="state" />
44 <field name="delay_close"/>
49 <!-- Cases by section and category2 of case Graph View -->
51 <record model="ir.ui.view" id="view_crm_case_section_categ_graph">
52 <field name="name">CRM Report - Teams and Type(Graph)</field>
53 <field name="model">report.crm.case.section.categ2</field>
54 <field name="type">graph</field>
55 <field name="arch" type="xml">
56 <graph string="Cases by Teams and Type" type="bar" orientation="horizontal">
57 <field name="category2_id"/>
58 <field name="amount_revenue" operator="+"/>
59 <field name="section_id" group="True"/>
64 <!-- Cases by section and category2 of case Search View -->
66 <record id="view_crm_case_section_categ_filter" model="ir.ui.view">
67 <field name="name">CRM Report - Teams and Type(Select)</field>
68 <field name="model">report.crm.case.section.categ2</field>
69 <field name="type">search</field>
70 <field name="arch" type="xml">
71 <search string="Cases by Team and Type">
74 <separator orientation="vertical"/>
76 <field name="section_id" widget="selection" />
77 <field name="category2_id"/>
85 <!-- Cases by section and category2 of case Action -->
87 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_tree">
88 <field name="name">Cases By Section and Category</field>
89 <field name="res_model">report.crm.case.section.categ2</field>
90 <field name="view_type">form</field>
91 <field name="view_mode">graph,tree</field>
92 <field name="search_view_id" ref="view_crm_case_section_categ_filter"/>
95 <!-- Cases by section and stage Tree View -->
97 <record model="ir.ui.view" id="view_crm_case_section_stage_tree">
98 <field name="name">CRM Report - Teams and Stage(Tree)</field>
99 <field name="model">report.crm.case.section.stage</field>
100 <field name="type">tree</field>
101 <field name="arch" type="xml">
102 <tree string="Cases by Team and Stage">
104 <field name="month"/>
105 <field name="user_id"/>
106 <field name="section_id"/>
107 <field name="stage_id"/>
108 <field name="amount_revenue"/>
110 <field name="delay_close"/>
111 <field name="state"/>
116 <!-- Cases by section and stage Form View -->
118 <record model="ir.ui.view" id="view_crm_case_section_stage_form">
119 <field name="name">CRM Report - Teams and Stage(Form)</field>
120 <field name="model">report.crm.case.section.stage</field>
121 <field name="type">form</field>
122 <field name="arch" type="xml">
123 <form string="Cases by Team and Stage">
125 <field name="month"/>
126 <field name="user_id"/>
127 <field name="section_id" widget="selection"/>
128 <field name="stage_id"/>
129 <field name="amount_revenue"/>
131 <field name="state" />
132 <field name="delay_close"/>
137 <!-- Cases by section and stage Graph View -->
139 <record model="ir.ui.view" id="view_crm_case_section_stage_graph">
140 <field name="name">CRM Report - Teams and Stage(Graph)</field>
141 <field name="model">report.crm.case.section.stage</field>
142 <field name="type">graph</field>
143 <field name="arch" type="xml">
144 <graph string="Cases by Team and Stage" type="bar" orientation="horizontal">
145 <field name="stage_id"/>
146 <field name="amount_revenue" operator="+"/>
147 <field name="section_id" group="True"/>
152 <!-- Cases by section and stage Search View -->
154 <record id="view_crm_case_section_stage_filter" model="ir.ui.view">
155 <field name="name">CRM Report - Teams and Stage(Select)</field>
156 <field name="model">report.crm.case.section.stage</field>
157 <field name="type">search</field>
158 <field name="arch" type="xml">
159 <search string="Cases by Team and Stage">
162 <separator orientation="vertical"/>
163 <field name="month"/>
164 <field name="section_id" widget="selection"/>
166 <field name="state"/>
172 <!-- Cases by section and stage Action -->
174 <record model="ir.actions.act_window" id="action_report_crm_case_section_stage_tree">
175 <field name="name">Cases By Section and Stage</field>
176 <field name="res_model">report.crm.case.section.stage</field>
177 <field name="view_type">form</field>
178 <field name="view_mode">graph,tree</field>
179 <field name="search_view_id" ref="view_crm_case_section_stage_filter"/>
182 <!-- Cases by section, category and stage Tree View -->
184 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_tree">
185 <field name="name">CRM Report - Team, Category and Stage(Tree)</field>
186 <field name="model">report.crm.case.section.categ.stage</field>
187 <field name="type">tree</field>
188 <field name="arch" type="xml">
189 <tree string="Cases by Team, Category and Stage">
191 <field name="month"/>
192 <field name="user_id"/>
193 <field name="section_id"/>
194 <field name="categ_id"/>
195 <field name="stage_id"/>
197 <field name="delay_close"/>
198 <field name="state"/>
203 <!-- Cases by section, category and stage Form View -->
205 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_form">
206 <field name="name">CRM Report - Team, Category and Stage(Form)</field>
207 <field name="model">report.crm.case.section.categ.stage</field>
208 <field name="type">form</field>
209 <field name="arch" type="xml">
210 <form string="Cases by Section, Category and Stage">
212 <field name="month"/>
213 <field name="user_id"/>
214 <field name="section_id" widget="selection"/>
215 <field name="categ_id"/>
216 <field name="stage_id"/>
218 <field name="state" />
219 <field name="delay_close"/>
224 <!-- Cases by section, category and stage Search View -->
226 <record id="view_crm_case_section_categ_stage_filter" model="ir.ui.view">
227 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
228 <field name="model">report.crm.case.section.categ.stage</field>
229 <field name="type">search</field>
230 <field name="arch" type="xml">
231 <search string="Cases by Section, Category and Stage">
234 <separator orientation="vertical"/>
235 <field name="month"/>
236 <field name="section_id" widget="selection"/>
238 <field name="state"/>
244 <!-- Cases by section, category and stage Graph View -->
246 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_graph">
247 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
248 <field name="model">report.crm.case.section.categ.stage</field>
249 <field name="type">graph</field>
250 <field name="arch" type="xml">
251 <graph string="Cases by Section, Category and Stage" type="bar" orientation="horizontal">
252 <field name="categ_id"/>
253 <field name="nbr" operator="+"/>
254 <field name="section_id" group="True"/>
259 <!-- Cases by section, category and stage Action -->
261 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_stage_tree">
262 <field name="name">Cases By Section ,Category and Stage</field>
263 <field name="res_model">report.crm.case.section.categ.stage</field>
264 <field name="view_type">form</field>
265 <field name="view_mode">tree,graph</field>
266 <field name="search_view_id" ref="view_crm_case_section_categ_stage_filter"/>
269 <!-- Cases by section, category and category2 Tree View -->
271 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_tree">
272 <field name="name">CRM Report - Section, Category and Type(Tree)</field>
273 <field name="model">report.crm.case.section.categ.categ2</field>
274 <field name="type">tree</field>
275 <field name="arch" type="xml">
276 <tree string="Cases by Section, Category and Type">
278 <field name="month"/>
279 <field name="user_id"/>
280 <field name="section_id"/>
281 <field name="categ_id"/>
282 <field name="category2_id"/>
283 <field name="stage_id"/>
285 <field name="delay_close"/>
286 <field name="state"/>
291 <!-- Cases by section, category and category2 Form View -->
293 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_form">
294 <field name="name">CRM Report - Section, Category and Type(Form)</field>
295 <field name="model">report.crm.case.section.categ.categ2</field>
296 <field name="type">form</field>
297 <field name="arch" type="xml">
298 <form string="Cases by Section, Category and Type">
300 <field name="month"/>
301 <field name="user_id"/>
302 <field name="section_id" widget="selection"/>
303 <field name="categ_id"/>
304 <field name="category2_id"/>
305 <field name="stage_id"/>
307 <field name="state" />
308 <field name="delay_close"/>
313 <!-- Cases by section, category and category2 Search View -->
315 <record id="view_crm_case_section_categ_categ2_filter" model="ir.ui.view">
316 <field name="name">CRM Report - Section, Category and Type(Select)</field>
317 <field name="model">report.crm.case.section.categ.categ2</field>
318 <field name="type">search</field>
319 <field name="arch" type="xml">
320 <search string="Search Cases by User">
323 <separator orientation="vertical"/>
324 <field name="month"/>
325 <field name="section_id" widget="selection"/>
327 <field name="state"/>
333 <!-- Cases by section, category and category2 Graph View -->
335 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_graph">
336 <field name="name">CRM Report - Section, Category and Type(Select)</field>
337 <field name="model">report.crm.case.section.categ.categ2</field>
338 <field name="type">graph</field>
339 <field name="arch" type="xml">
340 <graph string="Cases by Section, Category and Type" type="bar" orientation="horizontal">
341 <field name="category2_id"/>
342 <field name="nbr" operator="+"/>
343 <field name="section_id" group="True"/>
348 <!-- Cases by section, category and category2 Action -->
350 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_categ2_tree">
351 <field name="name">Cases By Section ,Category and Category2</field>
352 <field name="res_model">report.crm.case.section.categ.categ2</field>
353 <field name="view_type">form</field>
354 <field name="view_mode">tree,graph</field>
355 <field name="search_view_id" ref="view_crm_case_section_categ_categ2_filter"/>