Debian Codegraph @

addons/spreadsheet_dashboard_website_sale_slides/data/files/elearning_dashboard.json

raw symbols SCIP
1 {
2 "version": "18.4.14",
3 "sheets": [
4 {
5 "id": "sheet1",
6 "name": "Dashboard",
7 "colNumber": 11,
8 "rowNumber": 50,
9 "rows": {
10 "6": { "size": 40 },
11 "22": { "size": 40 }
12 },
13 "cols": {
14 "0": { "size": 100 },
15 "1": { "size": 100 },
16 "2": { "size": 100 },
17 "3": { "size": 100 },
18 "4": { "size": 75 },
19 "5": { "size": 50 },
20 "6": { "size": 100 },
21 "7": { "size": 100 },
22 "8": { "size": 100 },
23 "9": { "size": 100 },
24 "10": { "size": 75 }
25 },
26 "merges": [],
27 "cells": {
28 "A7": "[Revenues](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[[\"product_id.channel_ids\",\"!=\",false]],\"context\":{\"group_by\":[\"date:month\"],\"graph_measure\":\"price_subtotal\",\"graph_mode\":\"line\",\"graph_groupbys\":[\"date:month\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"eLearning Revenues\"})",
29 "A23": "[Attendees by Course](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[],\"context\":{\"group_by\":[\"channel_id\"],\"graph_measure\":\"__count\",\"graph_mode\":\"bar\",\"graph_groupbys\":[\"channel_id\"]},\"modelName\":\"slide.channel.partner\",\"views\":[[false,\"list\"],[false,\"form\"],[false,\"kanban\"],[false,\"pivot\"],[false,\"graph\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Attendees by Course\"})",
30 "G23": "[Views by Course](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[[\"is_category\",\"=\",false]],\"context\":{\"group_by\":[\"channel_id\",\"slide_category\"],\"graph_measure\":\"total_views\",\"graph_mode\":\"bar\",\"graph_groupbys\":[\"channel_id\",\"slide_category\"]},\"modelName\":\"slide.slide\",\"views\":[[false,\"graph\"],[false,\"list\"],[false,\"form\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Views by Course\"})"
31 },
32 "styles": { "A7": 1, "A23": 1, "G23": 1 },
33 "formats": {},
34 "borders": {
35 "A23:E23": 1,
36 "A7:K7": 1,
37 "G23:K23": 1,
38 "A24:E24": 2,
39 "A8:K8": 2,
40 "G24:K24": 2
41 },
42 "conditionalFormats": [],
43 "dataValidationRules": [],
44 "figures": [
45 {
46 "id": "e4d80a72-4568-4b7b-9f10-439064db939e",
47 "width": 1000,
48 "height": 344,
49 "tag": "chart",
50 "data": {
51 "title": { "text": "" },
52 "background": "#FFFFFF",
53 "legendPosition": "none",
54 "metaData": {
55 "groupBy": ["date:month"],
56 "measure": "price_subtotal",
57 "order": null,
58 "resModel": "sale.report",
59 "mode": "line",
60 "cumulatedStart": false
61 },
62 "searchParams": {
63 "comparison": null,
64 "context": {
65 "group_by": ["date", "product_id"],
66 "pivot_measures": ["price_total"]
67 },
68 "domain": [
69 ["product_id.channel_ids", "!=", false]
70 ],
71 "groupBy": ["date:month"],
72 "orderBy": []
73 },
74 "type": "odoo_line",
75 "dataSets": [],
76 "verticalAxisPosition": "left",
77 "stacked": false,
78 "cumulatedStart": false,
79 "fillArea": true,
80 "fieldMatching": {
81 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "date", "type": "datetime", "offset": 0 }
82 }
83 },
84 "offset": { "x": 0, "y": 178 },
85 "col": 0,
86 "row": 0
87 },
88 {
89 "id": "cc154c8b-08a2-4878-b245-37ea92d373c8",
90 "width": 192,
91 "height": 104,
92 "tag": "chart",
93 "data": {
94 "baselineColorDown": "#DC6965",
95 "baselineColorUp": "#00A04A",
96 "baselineMode": "difference",
97 "title": { "text": "Courses", "bold": true, "color": "#434343" },
98 "type": "scorecard",
99 "background": "#EFF6FF",
100 "keyValue": "Data!D2",
101 "humanize": false
102 },
103 "offset": { "x": 0, "y": 12 },
104 "col": 0,
105 "row": 0
106 },
107 {
108 "id": "1a2f0ccc-460d-405a-aa89-a3f39a771104",
109 "width": 192,
110 "height": 104,
111 "tag": "chart",
112 "data": {
113 "baselineColorDown": "#DC6965",
114 "baselineColorUp": "#00A04A",
115 "baselineMode": "difference",
116 "title": { "text": "Content", "bold": true, "color": "#434343" },
117 "type": "scorecard",
118 "background": "#EFF6FF",
119 "keyValue": "Data!D3",
120 "humanize": false
121 },
122 "offset": { "x": 202, "y": 12 },
123 "col": 0,
124 "row": 0
125 },
126 {
127 "id": "1f39216f-cebd-4884-8cfb-27d94e5c2e22",
128 "width": 192,
129 "height": 104,
130 "tag": "chart",
131 "data": {
132 "baselineColorDown": "#DC6965",
133 "baselineColorUp": "#00A04A",
134 "baselineMode": "percentage",
135 "title": { "text": "Attendees", "bold": true, "color": "#434343" },
136 "type": "scorecard",
137 "background": "#EFF6FF",
138 "baseline": "Data!E4",
139 "baselineDescr": { "text": "since last period" },
140 "keyValue": "Data!D4",
141 "humanize": false
142 },
143 "offset": { "x": 606, "y": 12 },
144 "col": 0,
145 "row": 0
146 },
147 {
148 "id": "165a7593-a6b6-4c5d-8758-d9b09572fa30",
149 "width": 192,
150 "height": 104,
151 "tag": "chart",
152 "data": {
153 "baselineColorDown": "#DC6965",
154 "baselineColorUp": "#00A04A",
155 "baselineMode": "percentage",
156 "title": { "text": "Revenue", "bold": true, "color": "#434343" },
157 "type": "scorecard",
158 "background": "#FFF7ED",
159 "baseline": "Data!E6",
160 "baselineDescr": { "text": "since last period" },
161 "keyValue": "Data!D6",
162 "humanize": false
163 },
164 "offset": { "x": 808, "y": 12 },
165 "col": 0,
166 "row": 0
167 },
168 {
169 "id": "bbd06704-ff49-496b-90dc-e1616f65d613",
170 "width": 192,
171 "height": 104,
172 "tag": "chart",
173 "data": {
174 "baselineColorDown": "#DC6965",
175 "baselineColorUp": "#00A04A",
176 "baselineMode": "difference",
177 "title": { "text": "Rating", "bold": true, "color": "#434343" },
178 "type": "scorecard",
179 "background": "#EFF6FF",
180 "keyValue": "Data!D5",
181 "humanize": false
182 },
183 "offset": { "x": 404, "y": 12 },
184 "col": 0,
185 "row": 0
186 },
187 {
188 "id": "2f9b379a-0281-4399-8bc8-8847019c8ac7",
189 "width": 475,
190 "height": 400,
191 "tag": "chart",
192 "data": {
193 "title": { "text": "" },
194 "background": "#FFFFFF",
195 "legendPosition": "none",
196 "metaData": {
197 "groupBy": ["channel_id"],
198 "measure": "__count",
199 "order": "DESC",
200 "resModel": "slide.channel.partner",
201 "mode": "bar",
202 "cumulatedStart": false
203 },
204 "searchParams": {
205 "comparison": null,
206 "context": {},
207 "domain": [],
208 "groupBy": ["channel_id"],
209 "orderBy": []
210 },
211 "type": "odoo_bar",
212 "dataSets": [],
213 "verticalAxisPosition": "left",
214 "stacked": true,
215 "fieldMatching": {
216 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "create_date", "type": "datetime", "offset": 0 }
217 }
218 },
219 "offset": { "x": 0, "y": 563 },
220 "col": 0,
221 "row": 0
222 },
223 {
224 "id": "122a4eb9-dc29-498c-bbbd-274252546078",
225 "width": 475,
226 "height": 400,
227 "tag": "chart",
228 "data": {
229 "title": { "text": "" },
230 "background": "#FFFFFF",
231 "legendPosition": "top",
232 "metaData": {
233 "groupBy": ["channel_id", "slide_category"],
234 "measure": "total_views",
235 "order": "DESC",
236 "resModel": "slide.slide",
237 "mode": "bar",
238 "cumulatedStart": false
239 },
240 "searchParams": {
241 "comparison": null,
242 "context": {},
243 "domain": [
244 ["is_category", "=", false]
245 ],
246 "groupBy": ["channel_id", "slide_category"],
247 "orderBy": []
248 },
249 "type": "odoo_bar",
250 "dataSets": [],
251 "verticalAxisPosition": "left",
252 "stacked": true,
253 "fieldMatching": {
254 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "create_date", "type": "datetime", "offset": 0 }
255 }
256 },
257 "offset": { "x": 525, "y": 563 },
258 "col": 0,
259 "row": 0
260 }
261 ],
262 "tables": [],
263 "areGridLinesVisible": true,
264 "isVisible": true,
265 "headerGroups": {
266 "ROW": [],
267 "COL": []
268 },
269 "comments": {}
270 },
271 {
272 "id": "7c4d0b0e-26a0-410c-b37f-b7e0c2c819c8",
273 "name": "Data",
274 "colNumber": 26,
275 "rowNumber": 96,
276 "rows": {},
277 "cols": {
278 "0": { "size": 114 },
279 "1": { "size": 89 }
280 },
281 "merges": [],
282 "cells": {
283 "A2": "=_t(\"Courses\")",
284 "A3": "=_t(\"Content\")",
285 "A4": "=_t(\"Attendees\")",
286 "A5": "=_t(\"Rating\")",
287 "A6": "=_t(\"Revenue\")",
288 "B1": "=_t(\"Current\")",
289 "B2": "=PIVOT.VALUE(4,\"__count\")",
290 "B3": "=PIVOT.VALUE(5,\"__count\")",
291 "B4": "=PIVOT.VALUE(6,\"__count\")",
292 "B5": "=PIVOT.VALUE(9,\"rating\")",
293 "B6": "=PIVOT.VALUE(10,\"price_total\")",
294 "C1": "=_t(\"Previous\")",
295 "C2": "/",
296 "C3": "/",
297 "C4": "=PIVOT.VALUE(7,\"__count\")",
298 "C6": "=PIVOT.VALUE(11,\"price_total\")",
299 "D1": "=_t(\"Current\")",
300 "D2": "=FORMAT.LARGE.NUMBER(B2)",
301 "D3": "=FORMAT.LARGE.NUMBER(B3)",
302 "D4": "=FORMAT.LARGE.NUMBER(B4)",
303 "D5": "=CONCATENATE(B5,\"/5\")",
304 "D6": "=FORMAT.LARGE.NUMBER(B6)",
305 "E1": "=_t(\"Previous\")",
306 "E4": "=FORMAT.LARGE.NUMBER(C4)",
307 "E6": "=FORMAT.LARGE.NUMBER(C6)"
308 },
309 "styles": { "B1:E1": 2, "D2:D4": 3, "E4": 3, "D6:E6": 3, "D5": 4 },
310 "formats": {},
311 "borders": {},
312 "conditionalFormats": [],
313 "dataValidationRules": [],
314 "figures": [],
315 "tables": [],
316 "areGridLinesVisible": true,
317 "isVisible": true,
318 "headerGroups": {
319 "ROW": [],
320 "COL": []
321 },
322 "comments": {}
323 }
324 ],
325 "styles": {
326 "1": { "textColor": "#01666b", "bold": true, "fontSize": 16 },
327 "2": { "bold": true },
328 "3": { "fillColor": "#f2f2f2" },
329 "4": { "fillColor": "#f2f2f2", "align": "right" }
330 },
331 "formats": {},
332 "borders": {
333 "1": {
334 "bottom": { "style": "thin", "color": "#CCCCCC" }
335 },
336 "2": {
337 "top": { "style": "thin", "color": "#CCCCCC" }
338 }
339 },
340 "revisionId": "START_REVISION",
341 "uniqueFigureIds": true,
342 "settings": {
343 "locale": {
344 "name": "English (US)",
345 "code": "en_US",
346 "thousandsSeparator": ",",
347 "decimalSeparator": ".",
348 "dateFormat": "mm/dd/yyyy",
349 "timeFormat": "hh:mm:ss",
350 "formulaArgSeparator": ",",
351 "weekStart": 7
352 }
353 },
354 "pivots": {
355 "4": {
356 "type": "ODOO",
357 "fieldMatching": {},
358 "context": {},
359 "domain": [
360 ["is_published", "=", true]
361 ],
362 "id": "4",
363 "measures": [
364 { "id": "__count", "fieldName": "__count" }
365 ],
366 "model": "slide.channel",
367 "name": "courses",
368 "formulaId": "4",
369 "columns": [],
370 "rows": []
371 },
372 "5": {
373 "type": "ODOO",
374 "fieldMatching": {
375 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "create_date", "type": "datetime" }
376 },
377 "context": {},
378 "domain": [
379 "&",
380 ["is_category", "=", false],
381 ["is_published", "=", true]
382 ],
383 "id": "5",
384 "measures": [
385 { "id": "__count", "fieldName": "__count" }
386 ],
387 "model": "slide.slide",
388 "name": "content",
389 "sortedColumn": null,
390 "formulaId": "5",
391 "columns": [],
392 "rows": []
393 },
394 "6": {
395 "type": "ODOO",
396 "fieldMatching": {
397 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "create_date", "type": "datetime", "offset": 0 }
398 },
399 "context": {},
400 "domain": [],
401 "id": "6",
402 "measures": [
403 { "id": "__count", "fieldName": "__count" }
404 ],
405 "model": "slide.channel.partner",
406 "name": "attendees - current",
407 "sortedColumn": null,
408 "formulaId": "6",
409 "columns": [],
410 "rows": []
411 },
412 "7": {
413 "type": "ODOO",
414 "fieldMatching": {
415 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "create_date", "type": "datetime", "offset": -1 }
416 },
417 "context": {},
418 "domain": [],
419 "id": "7",
420 "measures": [
421 { "id": "__count", "fieldName": "__count" }
422 ],
423 "model": "slide.channel.partner",
424 "name": "attendees - previous",
425 "sortedColumn": null,
426 "formulaId": "7",
427 "columns": [],
428 "rows": []
429 },
430 "9": {
431 "type": "ODOO",
432 "fieldMatching": {},
433 "context": {},
434 "domain": [
435 "&",
436 ["consumed", "=", true],
437 ["res_model", "=", "slide.channel"]
438 ],
439 "id": "9",
440 "measures": [
441 { "id": "rating", "fieldName": "rating" }
442 ],
443 "model": "rating.rating",
444 "name": "rating",
445 "sortedColumn": null,
446 "formulaId": "9",
447 "columns": [],
448 "rows": []
449 },
450 "10": {
451 "type": "ODOO",
452 "fieldMatching": {
453 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "date", "type": "datetime", "offset": 0 }
454 },
455 "context": {
456 "group_by": ["date", "product_id"],
457 "pivot_measures": ["price_total"]
458 },
459 "domain": [
460 "&",
461 ["product_id.channel_ids", "!=", false],
462 [
463 "state",
464 "not in",
465 ["draft", "sent", "cancel"]
466 ]
467 ],
468 "id": "10",
469 "measures": [
470 { "id": "price_total", "fieldName": "price_total" }
471 ],
472 "model": "sale.report",
473 "name": "revenue - current",
474 "sortedColumn": null,
475 "formulaId": "10",
476 "columns": [],
477 "rows": []
478 },
479 "11": {
480 "type": "ODOO",
481 "fieldMatching": {
482 "46b74887-ff98-4c97-9629-4a5a14084321": { "chain": "date", "type": "datetime", "offset": -1 }
483 },
484 "context": {
485 "group_by": ["date", "product_id"],
486 "pivot_measures": ["price_total"]
487 },
488 "domain": [
489 "&",
490 ["product_id.channel_ids", "!=", false],
491 [
492 "state",
493 "not in",
494 ["draft", "sent", "cancel"]
495 ]
496 ],
497 "id": "11",
498 "measures": [
499 { "id": "price_total", "fieldName": "price_total" }
500 ],
501 "model": "sale.report",
502 "name": "revenue - previous",
503 "sortedColumn": null,
504 "formulaId": "11",
505 "columns": [],
506 "rows": []
507 }
508 },
509 "pivotNextId": 12,
510 "customTableStyles": {},
511 "globalFilters": [
512 {
513 "id": "46b74887-ff98-4c97-9629-4a5a14084321",
514 "type": "date",
515 "label": "Period",
516 "defaultValue": "last_12_months"
517 }
518 ],
519 "lists": {},
520 "listNextId": 1,
521 "chartOdooMenusReferences": {
522 "e4d80a72-4568-4b7b-9f10-439064db939e": "website_slides.website_slides_menu_root",
523 "2f9b379a-0281-4399-8bc8-8847019c8ac7": "website_slides.website_slides_menu_root",
524 "122a4eb9-dc29-498c-bbbd-274252546078": "website_slides.website_slides_menu_root",
525 "cc154c8b-08a2-4878-b245-37ea92d373c8": "website_slides.website_slides_menu_report_courses",
526 "1a2f0ccc-460d-405a-aa89-a3f39a771104": "website_slides.website_slides_menu_report_contents",
527 "bbd06704-ff49-496b-90dc-e1616f65d613": "website_slides.website_slides_menu_report_reviews",
528 "1f39216f-cebd-4884-8cfb-27d94e5c2e22": "website_slides.website_slides_menu_report_attendees",
529 "165a7593-a6b6-4c5d-8758-d9b09572fa30": "website_sale_slides.website_slides_menu_report_revenues"
530 }
531 }