Debian Codegraph @

addons/spreadsheet_dashboard_sale/data/files/sales_sample_dashboard.json

raw
1 {
2 "version": "18.4.14",
3 "sheets": [
4 {
5 "id": "sheet1",
6 "name": "Dashboard",
7 "colNumber": 7,
8 "rowNumber": 86,
9 "rows": {
10 "5": { "size": 40 },
11 "21": { "size": 40 },
12 "22": { "size": 29 },
13 "23": { "size": 29 },
14 "24": { "size": 29 },
15 "25": { "size": 29 },
16 "26": { "size": 29 },
17 "27": { "size": 29 },
18 "28": { "size": 29 },
19 "29": { "size": 29 },
20 "30": { "size": 29 },
21 "31": { "size": 29 },
22 "32": { "size": 29 },
23 "33": { "size": 23 },
24 "34": { "size": 43 },
25 "35": { "size": 35 },
26 "36": { "size": 28 },
27 "37": { "size": 28 },
28 "38": { "size": 28 },
29 "39": { "size": 28 },
30 "40": { "size": 28 },
31 "41": { "size": 28 },
32 "42": { "size": 28 },
33 "43": { "size": 28 },
34 "44": { "size": 28 },
35 "45": { "size": 28 },
36 "47": { "size": 40 },
37 "48": { "size": 40 },
38 "49": { "size": 28 },
39 "50": { "size": 28 },
40 "51": { "size": 28 },
41 "52": { "size": 28 },
42 "53": { "size": 28 },
43 "54": { "size": 28 },
44 "55": { "size": 28 },
45 "56": { "size": 28 },
46 "57": { "size": 28 },
47 "58": { "size": 28 },
48 "60": { "size": 40 },
49 "61": { "size": 40 },
50 "62": { "size": 28 },
51 "63": { "size": 28 },
52 "64": { "size": 28 },
53 "65": { "size": 28 },
54 "66": { "size": 28 },
55 "67": { "size": 28 },
56 "68": { "size": 28 },
57 "69": { "size": 28 },
58 "70": { "size": 28 },
59 "71": { "size": 28 },
60 "73": { "size": 40 },
61 "74": { "size": 40 },
62 "75": { "size": 28 },
63 "76": { "size": 28 },
64 "77": { "size": 28 },
65 "78": { "size": 28 },
66 "79": { "size": 28 },
67 "80": { "size": 28 },
68 "81": { "size": 28 },
69 "82": { "size": 28 },
70 "83": { "size": 28 },
71 "84": { "size": 28 },
72 "85": { "size": 28 }
73 },
74 "cols": {
75 "0": { "size": 349 },
76 "1": { "size": 95 },
77 "2": { "size": 80 },
78 "3": { "size": 50 },
79 "4": { "size": 323 },
80 "5": { "size": 100 },
81 "6": { "size": 100 }
82 },
83 "merges": [],
84 "cells": {
85 "A6": "[Monthly Sales](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[[\"state\",\"not in\",[\"draft\",\"cancel\",\"sent\"]]],\"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\":\"Sales Analysis\"})",
86 "A22": "[Top Quotations](odoo://view/{\"viewType\":\"list\",\"action\":{\"domain\":[[\"state\",\"in\",[\"draft\",\"sent\"]]],\"context\":{\"group_by\":[]},\"modelName\":\"sale.order\",\"views\":[[false,\"list\"],[false,\"kanban\"],[false,\"form\"],[false,\"calendar\"],[false,\"pivot\"],[false,\"graph\"],[false,\"activity\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Quotations\"})",
87 "A23": "=_t(\"Customer\")",
88 "A35": "[Top Countries](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"country_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"country_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"country_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
89 "A36": "=_t(\"Country\")",
90 "A48": "[Top Customers](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"partner_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"partner_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"partner_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
91 "A49": "=_t(\"Customer\")",
92 "A61": "[Top Sales Teams](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"team_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"team_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"team_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
93 "A62": "=_t(\"Sales Team\")",
94 "A74": "[Top Sources](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"source_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"source_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"source_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
95 "A75": "=_t(\"Source\")",
96 "B23": "=_t(\"Salesperson\")",
97 "B36": "=_t(\"Orders\")",
98 "B49": "=_t(\"Orders\")",
99 "B62": "=_t(\"Orders\")",
100 "B75": "=_t(\"Orders\")",
101 "C23": "=_t(\"Revenue\")",
102 "C36": "=_t(\"Revenue\")",
103 "C49": "=_t(\"Revenue\")",
104 "C62": "=_t(\"Revenue\")",
105 "C75": "=_t(\"Revenue\")",
106 "E22": "[Top Sales Orders](odoo://view/{\"viewType\":\"list\",\"action\":{\"domain\":[[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[]},\"modelName\":\"sale.order\",\"views\":[[false,\"list\"],[false,\"kanban\"],[false,\"form\"],[false,\"calendar\"],[false,\"pivot\"],[false,\"graph\"],[false,\"activity\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Orders\"})",
107 "E23": "=_t(\"Customer\")",
108 "E35": "[Top Products](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"product_tmpl_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"product_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"product_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
109 "E36": "=_t(\"Product\")",
110 "E48": "[Top Categories](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"categ_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"categ_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"categ_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
111 "E49": "=_t(\"Category\")",
112 "E61": "[Top Salespeople](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"user_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"user_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"user_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
113 "E62": "=_t(\"Salesperson\")",
114 "E74": "[Top Mediums](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"medium_id\",\"!=\",false],[\"state\",\"not in\",[\"draft\",\"sent\",\"cancel\"]]],\"context\":{\"group_by\":[\"medium_id\"],\"pivot_measures\":[\"order_reference\",\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"medium_id\"]},\"modelName\":\"sale.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Sales Analysis\"})",
115 "E75": "=_t(\"Medium\")",
116 "F23": "=_t(\"Salesperson\")",
117 "F36": "=_t(\"Orders\")",
118 "F49": "=_t(\"Orders\")",
119 "F62": "=_t(\"Orders\")",
120 "F75": "=_t(\"Orders\")",
121 "G23": "=_t(\"Revenue\")",
122 "G36": "=_t(\"Revenue\")",
123 "G49": "=_t(\"Revenue\")",
124 "G62": "=_t(\"Revenue\")",
125 "G75": "=_t(\"Revenue\")"
126 },
127 "styles": {
128 "A6": 1,
129 "A22": 1,
130 "A35": 1,
131 "A48": 1,
132 "A61": 1,
133 "A74": 1,
134 "E22": 1,
135 "E35": 1,
136 "E48": 1,
137 "E61": 1,
138 "E74": 1,
139 "A23:B23": 2,
140 "E23:F23": 2,
141 "A36": 3,
142 "A49": 3,
143 "A62": 3,
144 "A75": 3,
145 "C36": 3,
146 "C75": 3,
147 "E36": 3,
148 "E49": 3,
149 "E62": 3,
150 "E75": 3,
151 "B36": 4,
152 "B75": 4,
153 "B49:C49": 4,
154 "B62:C62": 4,
155 "F36:G36": 4,
156 "F49:G49": 4,
157 "F62:G62": 4,
158 "F75:G75": 4,
159 "C23": 5,
160 "G23": 5
161 },
162 "formats": {},
163 "borders": {
164 "A22:C22": 1,
165 "A35:C35": 1,
166 "A48:C48": 1,
167 "A61:C61": 1,
168 "A74:C74": 1,
169 "A6:G6": 1,
170 "E22:G22": 1,
171 "E35:G35": 1,
172 "E48:G48": 1,
173 "E61:G61": 1,
174 "E74:G74": 1,
175 "A62:C62": 2,
176 "A75:C75": 2,
177 "A7:G7": 2,
178 "E23:G23": 2,
179 "E49:G49": 2,
180 "E62:G62": 2,
181 "E75:G75": 2,
182 "A23:C23": 3,
183 "A24:C24": 4,
184 "A25:C32": 5,
185 "A37:C46": 5,
186 "A50:C59": 5,
187 "A64:C72": 5,
188 "A77:C85": 5,
189 "E25:G33": 5,
190 "E37:G46": 5,
191 "E51:G59": 5,
192 "E64:G72": 5,
193 "E77:G85": 5,
194 "A33:C33": 6,
195 "A34:C34": 7,
196 "A36:C36": 8,
197 "A49:C49": 8,
198 "E36:G36": 8,
199 "A47:C47": 9,
200 "A60:C60": 9,
201 "A73:C73": 9,
202 "A86:C86": 9,
203 "E34:G34": 9,
204 "E47:G47": 9,
205 "E60:G60": 9,
206 "E73:G73": 9,
207 "E86:G86": 9,
208 "A63:C63": 10,
209 "A76:C76": 10,
210 "E24:G24": 10,
211 "E50:G50": 10,
212 "E63:G63": 10,
213 "E76:G76": 10
214 },
215 "conditionalFormats": [],
216 "dataValidationRules": [],
217 "figures": [
218 {
219 "id": "51823220-f22b-4359-8711-579a249c91bb",
220 "width": 213,
221 "height": 101,
222 "tag": "chart",
223 "data": {
224 "baselineColorDown": "#DC6965",
225 "baselineColorUp": "#00A04A",
226 "baselineMode": "percentage",
227 "title": { "text": "Quotations", "bold": true, "color": "#434343" },
228 "type": "scorecard",
229 "background": "#EFF6FF",
230 "baseline": "Data!E4",
231 "baselineDescr": { "text": "since last period" },
232 "keyValue": "Data!D4",
233 "humanize": false
234 },
235 "offset": { "x": 0, "y": 11 },
236 "col": 0,
237 "row": 0
238 },
239 {
240 "id": "9a38934c-b454-4a4b-88aa-17d1b80dbf5f",
241 "width": 211,
242 "height": 101,
243 "tag": "chart",
244 "data": {
245 "baselineColorDown": "#DC6965",
246 "baselineColorUp": "#00A04A",
247 "baselineMode": "percentage",
248 "title": { "text": "Orders", "color": "#434343", "bold": true },
249 "type": "scorecard",
250 "background": "#EFF6FF",
251 "baseline": "Data!E5",
252 "baselineDescr": { "text": "since last period" },
253 "keyValue": "Data!D5",
254 "humanize": false
255 },
256 "offset": { "x": 223, "y": 11 },
257 "col": 0,
258 "row": 0
259 },
260 {
261 "id": "67858d0e-b5ba-4a3c-bf9e-c0fceaeedf65",
262 "width": 218,
263 "height": 101,
264 "tag": "chart",
265 "data": {
266 "baselineColorDown": "#DC6965",
267 "baselineColorUp": "#00A04A",
268 "baselineMode": "percentage",
269 "title": { "text": "Revenue", "color": "#434343", "bold": true },
270 "type": "scorecard",
271 "background": "#FFF7ED",
272 "baseline": "Data!E7",
273 "baselineDescr": { "text": "since last period" },
274 "keyValue": "Data!D7",
275 "humanize": false
276 },
277 "offset": { "x": 444, "y": 11 },
278 "col": 0,
279 "row": 0
280 },
281 {
282 "id": "d43375c1-73a6-42a2-8dbd-0f13c285824f",
283 "width": 213,
284 "height": 101,
285 "tag": "chart",
286 "data": {
287 "baselineColorDown": "#DC6965",
288 "baselineColorUp": "#00A04A",
289 "baselineMode": "percentage",
290 "title": { "text": "Average Order", "color": "#434343", "bold": true },
291 "type": "scorecard",
292 "background": "#FFF7ED",
293 "baseline": "Data!E8",
294 "baselineDescr": { "text": "since last period" },
295 "keyValue": "Data!D8",
296 "humanize": false
297 },
298 "offset": { "x": 672, "y": 11 },
299 "col": 0,
300 "row": 0
301 },
302 {
303 "id": "3ceb14f0-2a13-4691-817e-ff15c643b2bf",
304 "width": 1093,
305 "height": 343,
306 "tag": "chart",
307 "data": {
308 "type": "line",
309 "dataSetsHaveTitle": false,
310 "dataSets": [
311 { "dataRange": "Data!C11:C16", "yAxisId": "y" }
312 ],
313 "legendPosition": "none",
314 "labelRange": "Data!A11:A16",
315 "title": {},
316 "labelsAsText": true,
317 "stacked": false,
318 "aggregated": false,
319 "cumulative": true,
320 "fillArea": true
321 },
322 "offset": { "x": 0, "y": 156 },
323 "col": 0,
324 "row": 0
325 }
326 ],
327 "tables": [],
328 "areGridLinesVisible": true,
329 "isVisible": true,
330 "headerGroups": {
331 "ROW": [],
332 "COL": []
333 },
334 "comments": {}
335 },
336 {
337 "id": "eae01f9c-c461-4489-ade4-957ef2459d40",
338 "name": "Data",
339 "colNumber": 26,
340 "rowNumber": 103,
341 "rows": {},
342 "cols": {},
343 "merges": [],
344 "cells": {
345 "A1": "=_t(\"KPI\")",
346 "A2": "=_t(\"Draft quotations\")",
347 "A3": "=_t(\"Quotations sent\")",
348 "A4": "=_t(\"Total quotations\")",
349 "A5": "=_t(\"Orders\")",
350 "A6": "=_t(\"Total orders\")",
351 "A7": "=_t(\"Revenue\")",
352 "A8": "=_t(\"Average order amount\")",
353 "A11": "=EDATE(TODAY(), -B11)",
354 "A12": "=EDATE(TODAY(), -B12)",
355 "A13": "=EDATE(TODAY(), -B13)",
356 "A14": "=EDATE(TODAY(), -B14)",
357 "A15": "=EDATE(TODAY(), -B15)",
358 "A16": "=EDATE(TODAY(), -B16)",
359 "B1": "=_t(\"Current\")",
360 "B2": "13",
361 "B3": "15",
362 "B4": "189",
363 "B5": "456",
364 "B6": "72",
365 "B7": "491617.3",
366 "B8": "=IFERROR(B7/B6)",
367 "B11": "6",
368 "B12": "5",
369 "B13": "4",
370 "B14": "3",
371 "B15": "2",
372 "B16": "1",
373 "C1": "=_t(\"Previous\")",
374 "C2": "25",
375 "C3": "25",
376 "C4": "123",
377 "C5": "345",
378 "C6": "25",
379 "C7": "350000",
380 "C8": "=IFERROR(C7/C6)",
381 "C11": "77913",
382 "C12": "763749",
383 "C13": "130466",
384 "C14": "218483",
385 "C15": "563073",
386 "C16": "183723",
387 "D1": "=_t(\"Current\")",
388 "D2": "=B2",
389 "D3": "15",
390 "D4": "=B4",
391 "D5": "=B5",
392 "D6": "=FORMAT.LARGE.NUMBER(B6)",
393 "D7": "=FORMAT.LARGE.NUMBER(B7)",
394 "D8": "=FORMAT.LARGE.NUMBER(B8)",
395 "E1": "=_t(\"Previous\")",
396 "E2": "25",
397 "E3": "25",
398 "E4": "123",
399 "E5": "345",
400 "E6": "25",
401 "E7": "=C7",
402 "E8": "=C8"
403 },
404 "styles": { "A1:E1": 6, "D2:E8": 7 },
405 "formats": { "A11:A16": 1, "C11:C16": 2, "B7:E8": 2 },
406 "borders": {},
407 "conditionalFormats": [],
408 "dataValidationRules": [],
409 "figures": [],
410 "tables": [],
411 "areGridLinesVisible": true,
412 "isVisible": true,
413 "headerGroups": {
414 "ROW": [],
415 "COL": []
416 },
417 "comments": {}
418 }
419 ],
420 "styles": {
421 "1": { "textColor": "#01666b", "bold": true, "fontSize": 16 },
422 "2": {
423 "fontSize": 11,
424 "textColor": "#434343",
425 "verticalAlign": "middle",
426 "bold": true
427 },
428 "3": { "bold": true, "fontSize": 11, "textColor": "#434343" },
429 "4": {
430 "bold": true,
431 "fontSize": 11,
432 "textColor": "#434343",
433 "align": "center"
434 },
435 "5": {
436 "align": "center",
437 "fontSize": 11,
438 "textColor": "#434343",
439 "verticalAlign": "middle",
440 "bold": true
441 },
442 "6": { "bold": true },
443 "7": { "fillColor": "#f2f2f2" }
444 },
445 "formats": { "1": "mmmm yyyy", "2": "[$$]#,##0" },
446 "borders": {
447 "1": {
448 "bottom": { "style": "thin", "color": "#CCCCCC" }
449 },
450 "2": {
451 "top": { "style": "thin", "color": "#CCCCCC" }
452 },
453 "3": {
454 "top": { "style": "thin", "color": "#CCCCCC" },
455 "bottom": { "style": "thin", "color": "#FFFFFF" }
456 },
457 "4": {
458 "top": { "style": "thin", "color": "#FFFFFF" },
459 "bottom": { "style": "thick", "color": "#FFFFFF" }
460 },
461 "5": {
462 "top": { "style": "thick", "color": "#FFFFFF" },
463 "bottom": { "style": "thick", "color": "#FFFFFF" }
464 },
465 "6": {
466 "top": { "style": "thick", "color": "#FFFFFF" },
467 "bottom": { "style": "thin", "color": "#FFFFFF" }
468 },
469 "7": {
470 "top": { "style": "thin", "color": "#FFFFFF" }
471 },
472 "8": {
473 "top": { "style": "thin", "color": "#CCCCCC" },
474 "bottom": { "style": "thick", "color": "#FFFFFF" }
475 },
476 "9": {
477 "top": { "style": "thick", "color": "#FFFFFF" }
478 },
479 "10": {
480 "bottom": { "style": "thick", "color": "#FFFFFF" }
481 }
482 },
483 "revisionId": "START_REVISION",
484 "uniqueFigureIds": true,
485 "settings": {
486 "locale": {
487 "name": "English (US)",
488 "code": "en_US",
489 "thousandsSeparator": ",",
490 "decimalSeparator": ".",
491 "dateFormat": "mm/dd/yyyy",
492 "timeFormat": "hh:mm:ss",
493 "formulaArgSeparator": ",",
494 "weekStart": 7
495 }
496 },
497 "pivots": {},
498 "pivotNextId": 13,
499 "customTableStyles": {},
500 "globalFilters": [],
501 "lists": {},
502 "listNextId": 3,
503 "chartOdooMenusReferences": {}
504 }