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="arch" type="xml">
11 <tree string="Cases by Team and Type">
14 <field name="user_id"/>
15 <field name="section_id" groups="base.group_multi_salesteams"/>
16 <field name="category2_id"/>
17 <field name="stage_id"/>
18 <field name="amount_revenue"/>
20 <field name="delay_close"/>
26 <!-- Cases by section and category2 of case Form View -->
28 <record model="ir.ui.view" id="view_crm_case_section_categ_form">
29 <field name="name">CRM Report - Teams and Type(Form)</field>
30 <field name="model">report.crm.case.section.categ2</field>
31 <field name="arch" type="xml">
32 <form string="Cases by Team and Category2">
35 <field name="user_id"/>
36 <field name="section_id" widget="selection"
37 groups="base.group_multi_salesteams"/>
38 <field name="category2_id" />
39 <field name="stage_id"/>
40 <field name="amount_revenue"/>
42 <field name="state" />
43 <field name="delay_close"/>
48 <!-- Cases by section and category2 of case Graph View -->
50 <record model="ir.ui.view" id="view_crm_case_section_categ_graph">
51 <field name="name">CRM Report - Teams and Type(Graph)</field>
52 <field name="model">report.crm.case.section.categ2</field>
53 <field name="arch" type="xml">
54 <graph string="Cases by Teams and Type" type="bar" orientation="horizontal">
55 <field name="category2_id"/>
56 <field name="amount_revenue" operator="+"/>
57 <field name="section_id" group="True"
58 groups="base.group_multi_salesteams"/>
63 <!-- Cases by section and category2 of case Search View -->
65 <record id="view_crm_case_section_categ_filter" model="ir.ui.view">
66 <field name="name">CRM Report - Teams and Type(Select)</field>
67 <field name="model">report.crm.case.section.categ2</field>
68 <field name="arch" type="xml">
69 <search string="Cases by Team and Type">
74 <field name="section_id" groups="base.group_multi_salesteams"/>
75 <field name="category2_id"/>
80 <!-- Cases by section and category2 of case Action -->
82 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_tree">
83 <field name="name">Cases By Section and Category</field>
84 <field name="res_model">report.crm.case.section.categ2</field>
85 <field name="view_type">form</field>
86 <field name="view_mode">graph,tree</field>
87 <field name="search_view_id" ref="view_crm_case_section_categ_filter"/>
90 <!-- Cases by section and stage Tree View -->
92 <record model="ir.ui.view" id="view_crm_case_section_stage_tree">
93 <field name="name">CRM Report - Teams and Stage(Tree)</field>
94 <field name="model">report.crm.case.section.stage</field>
95 <field name="arch" type="xml">
96 <tree string="Cases by Team and Stage">
99 <field name="user_id"/>
100 <field name="section_id" groups="base.group_multi_salesteams"/>
101 <field name="stage_id"/>
102 <field name="amount_revenue"/>
104 <field name="delay_close"/>
105 <field name="state"/>
110 <!-- Cases by section and stage Form View -->
112 <record model="ir.ui.view" id="view_crm_case_section_stage_form">
113 <field name="name">CRM Report - Teams and Stage(Form)</field>
114 <field name="model">report.crm.case.section.stage</field>
115 <field name="arch" type="xml">
116 <form string="Cases by Team and Stage">
118 <field name="month"/>
119 <field name="user_id"/>
120 <field name="section_id" widget="selection"
121 groups="base.group_multi_salesteams"/>
122 <field name="stage_id"/>
123 <field name="amount_revenue"/>
125 <field name="state" />
126 <field name="delay_close"/>
131 <!-- Cases by section and stage Graph View -->
133 <record model="ir.ui.view" id="view_crm_case_section_stage_graph">
134 <field name="name">CRM Report - Teams and Stage(Graph)</field>
135 <field name="model">report.crm.case.section.stage</field>
136 <field name="arch" type="xml">
137 <graph string="Cases by Team and Stage" type="bar" orientation="horizontal">
138 <field name="stage_id"/>
139 <field name="amount_revenue" operator="+"/>
140 <field name="section_id" group="True" groups="base.group_multi_salesteams"/>
145 <!-- Cases by section and stage Search View -->
147 <record id="view_crm_case_section_stage_filter" model="ir.ui.view">
148 <field name="name">CRM Report - Teams and Stage(Select)</field>
149 <field name="model">report.crm.case.section.stage</field>
150 <field name="arch" type="xml">
151 <search string="Cases by Team and Stage">
153 <field name="month"/>
155 <field name="state"/>
156 <field name="section_id" groups="base.group_multi_salesteams"/>
161 <!-- Cases by section and stage Action -->
163 <record model="ir.actions.act_window" id="action_report_crm_case_section_stage_tree">
164 <field name="name">Cases By Section and Stage</field>
165 <field name="res_model">report.crm.case.section.stage</field>
166 <field name="view_type">form</field>
167 <field name="view_mode">graph,tree</field>
168 <field name="search_view_id" ref="view_crm_case_section_stage_filter"/>
171 <!-- Cases by section, category and stage Tree View -->
173 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_tree">
174 <field name="name">CRM Report - Team, Category and Stage(Tree)</field>
175 <field name="model">report.crm.case.section.categ.stage</field>
176 <field name="arch" type="xml">
177 <tree string="Cases by Team, Category and Stage">
179 <field name="month"/>
180 <field name="user_id"/>
181 <field name="section_id" groups="base.group_multi_salesteams"/>
182 <field name="categ_id"/>
183 <field name="stage_id"/>
185 <field name="delay_close"/>
186 <field name="state"/>
191 <!-- Cases by section, category and stage Form View -->
193 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_form">
194 <field name="name">CRM Report - Team, Category and Stage(Form)</field>
195 <field name="model">report.crm.case.section.categ.stage</field>
196 <field name="arch" type="xml">
197 <form string="Cases by Section, Category and Stage">
199 <field name="month"/>
200 <field name="user_id"/>
201 <field name="section_id" widget="selection" groups="base.group_multi_salesteams"/>
202 <field name="categ_id"/>
203 <field name="stage_id"/>
205 <field name="state" />
206 <field name="delay_close"/>
211 <!-- Cases by section, category and stage Search View -->
213 <record id="view_crm_case_section_categ_stage_filter" model="ir.ui.view">
214 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
215 <field name="model">report.crm.case.section.categ.stage</field>
216 <field name="arch" type="xml">
217 <search string="Cases by Section, Category and Stage">
219 <field name="month"/>
221 <field name="state"/>
222 <field name="section_id" groups="base.group_multi_salesteams"/>
227 <!-- Cases by section, category and stage Graph View -->
229 <record model="ir.ui.view" id="view_crm_case_section_categ_stage_graph">
230 <field name="name">CRM Report - Section, Category and Stage(Select)</field>
231 <field name="model">report.crm.case.section.categ.stage</field>
232 <field name="arch" type="xml">
233 <graph string="Cases by Section, Category and Stage" type="bar" orientation="horizontal">
234 <field name="categ_id"/>
235 <field name="nbr" operator="+"/>
236 <field name="section_id" group="True" groups="base.group_multi_salesteams"/>
241 <!-- Cases by section, category and stage Action -->
243 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_stage_tree">
244 <field name="name">Cases By Section ,Category and Stage</field>
245 <field name="res_model">report.crm.case.section.categ.stage</field>
246 <field name="view_type">form</field>
247 <field name="view_mode">tree,graph</field>
248 <field name="search_view_id" ref="view_crm_case_section_categ_stage_filter"/>
251 <!-- Cases by section, category and category2 Tree View -->
253 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_tree">
254 <field name="name">CRM Report - Section, Category and Type(Tree)</field>
255 <field name="model">report.crm.case.section.categ.categ2</field>
256 <field name="arch" type="xml">
257 <tree string="Cases by Section, Category and Type">
259 <field name="month"/>
260 <field name="user_id"/>
261 <field name="section_id" groups="base.group_multi_salesteams"/>
262 <field name="categ_id"/>
263 <field name="category2_id"/>
264 <field name="stage_id"/>
266 <field name="delay_close"/>
267 <field name="state"/>
272 <!-- Cases by section, category and category2 Form View -->
274 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_form">
275 <field name="name">CRM Report - Section, Category and Type(Form)</field>
276 <field name="model">report.crm.case.section.categ.categ2</field>
277 <field name="arch" type="xml">
278 <form string="Cases by Section, Category and Type">
280 <field name="month"/>
281 <field name="user_id"/>
282 <field name="section_id" widget="selection" groups="base.group_multi_salesteams"/>
283 <field name="categ_id"/>
284 <field name="category2_id"/>
285 <field name="stage_id"/>
287 <field name="state" />
288 <field name="delay_close"/>
293 <!-- Cases by section, category and category2 Search View -->
295 <record id="view_crm_case_section_categ_categ2_filter" model="ir.ui.view">
296 <field name="name">CRM Report - Section, Category and Type(Select)</field>
297 <field name="model">report.crm.case.section.categ.categ2</field>
298 <field name="arch" type="xml">
299 <search string="Search Cases by User">
301 <field name="month"/>
303 <field name="state"/>
304 <field name="section_id" groups="base.group_multi_salesteams"/>
309 <!-- Cases by section, category and category2 Graph View -->
311 <record model="ir.ui.view" id="view_crm_case_section_categ_categ2_graph">
312 <field name="name">CRM Report - Section, Category and Type(Select)</field>
313 <field name="model">report.crm.case.section.categ.categ2</field>
314 <field name="arch" type="xml">
315 <graph string="Cases by Section, Category and Type" type="bar" orientation="horizontal">
316 <field name="category2_id"/>
317 <field name="nbr" operator="+"/>
318 <field name="section_id" group="True" groups="base.group_multi_salesteams"/>
323 <!-- Cases by section, category and category2 Action -->
325 <record model="ir.actions.act_window" id="action_report_crm_case_section_categ_categ2_tree">
326 <field name="name">Cases By Section ,Category and Category2</field>
327 <field name="res_model">report.crm.case.section.categ.categ2</field>
328 <field name="view_type">form</field>
329 <field name="view_mode">tree,graph</field>
330 <field name="search_view_id" ref="view_crm_case_section_categ_categ2_filter"/>