Debian Codegraph @

addons/spreadsheet_dashboard_pos_restaurant/data/files/pos_restaurant_dashboard.json

raw symbols SCIP
1 {
2 "version": "18.5.10",
3 "sheets": [
4 {
5 "id": "c960176a-048b-4f9a-a326-3cc55c5fd1f2",
6 "name": "Dashboard",
7 "colNumber": 11,
8 "rowNumber": 95,
9 "rows": {
10 "11": { "size": 36 },
11 "29": { "size": 41 },
12 "48": { "size": 39 },
13 "49": { "size": 36 },
14 "50": { "size": 26 },
15 "51": { "size": 26 },
16 "52": { "size": 26 },
17 "53": { "size": 26 },
18 "54": { "size": 26 },
19 "55": { "size": 26 },
20 "56": { "size": 26 },
21 "57": { "size": 26 },
22 "58": { "size": 26 },
23 "59": { "size": 26 },
24 "60": { "size": 26 },
25 "61": { "size": 26 },
26 "62": { "size": 26 },
27 "63": { "size": 26 },
28 "64": { "size": 26 },
29 "66": { "size": 39 },
30 "67": { "size": 34 },
31 "68": { "size": 26 },
32 "69": { "size": 26 },
33 "70": { "size": 26 },
34 "71": { "size": 26 },
35 "72": { "size": 26 },
36 "73": { "size": 26 },
37 "74": { "size": 26 },
38 "75": { "size": 26 },
39 "76": { "size": 26 },
40 "77": { "size": 26 },
41 "78": { "size": 26 },
42 "79": { "size": 26 },
43 "80": { "size": 26 },
44 "81": { "size": 26 },
45 "82": { "size": 26 }
46 },
47 "cols": {
48 "0": { "isHidden": true, "size": 40 },
49 "1": { "size": 288 },
50 "2": { "size": 99 },
51 "3": { "size": 76 },
52 "4": { "size": 65 },
53 "5": { "size": 27 },
54 "6": { "isHidden": true, "size": 41 },
55 "7": { "size": 217 },
56 "8": { "size": 92 },
57 "9": { "size": 80 },
58 "10": { "size": 84 }
59 },
60 "merges": [],
61 "cells": {
62 "A50": "#",
63 "A51": "1",
64 "A52": "2",
65 "A53": "3",
66 "A54": "4",
67 "A55": "5",
68 "A56": "6",
69 "A57": "7",
70 "A58": "8",
71 "A59": "9",
72 "A60": "10",
73 "A61": "11",
74 "A62": "12",
75 "A63": "13",
76 "A64": "14",
77 "A65": "15",
78 "A68": "#",
79 "A69": "1",
80 "A70": "2",
81 "A71": "3",
82 "A72": "4",
83 "A73": "5",
84 "A74": "6",
85 "A75": "7",
86 "A76": "8",
87 "A77": "9",
88 "A78": "10",
89 "A79": "11",
90 "A80": "12",
91 "A81": "13",
92 "A82": "14",
93 "A83": "15",
94 "B12": "=_t(\"Hourly Total Revenue\")",
95 "B30": "=_t(\"Daily Total Revenue\")",
96 "B49": "=_t(\"Top 15 Products per Margin\") ",
97 "B50": "=PIVOT(6, 10, FALSE, FALSE)",
98 "B67": "=_t(\"Top 15 Tables per Revenue\")",
99 "B68": "=PIVOT(7, 10, FALSE, FALSE)",
100 "G50": "#",
101 "G51": "1",
102 "G52": "2",
103 "G53": "3",
104 "G54": "4",
105 "G55": "5",
106 "G56": "6",
107 "G57": "7",
108 "G58": "8",
109 "G59": "9",
110 "G60": "10",
111 "G61": "11",
112 "G62": "12",
113 "G63": "13",
114 "G64": "14",
115 "G65": "15",
116 "H50": "=PIVOT(9, 10, FALSE, FALSE)",
117 "H67": "=_t(\"Top Responsibles\")",
118 "H68": "=CHOOSECOLS(PIVOT(10, 10, FALSE, FALSE), 1)",
119 "J68": "=CHOOSECOLS(PIVOT(10, 10, FALSE, FALSE), 2, 3)"
120 },
121 "styles": {
122 "A50": 1,
123 "A68": 1,
124 "G50": 1,
125 "H69:K78": 1,
126 "A51:E65": 2,
127 "A69:E83": 2,
128 "G51:K65": 2,
129 "B12": 3,
130 "B30": 3,
131 "B49": 3,
132 "B67": 3,
133 "H49": 3,
134 "B50": 4,
135 "B68": 4,
136 "H50": 4,
137 "H68:J68": 4,
138 "C50:E50": 5,
139 "C68:E68": 5,
140 "I50:K50": 5,
141 "K68": 5,
142 "H67": 6
143 },
144 "formats": {},
145 "borders": {
146 "B67:D67": 1,
147 "B49:E49": 1,
148 "B12:K12": 1,
149 "B30:K30": 1,
150 "H49:K49": 1,
151 "H67:K67": 1,
152 "B50:E50": 2,
153 "B68:E68": 2,
154 "B13:K13": 2,
155 "B31:K31": 2,
156 "H50:K50": 2,
157 "H68:K68": 2,
158 "B51:E51": 3,
159 "B69:E69": 3,
160 "H51:K51": 3,
161 "H69:K69": 3,
162 "B70:D82": 4,
163 "B52:E64": 4,
164 "E70:E81": 4,
165 "H52:K64": 4,
166 "H70:K78": 4,
167 "B83:D83": 5,
168 "B65:E65": 5,
169 "E82:E83": 5,
170 "H65:K65": 5,
171 "H79:K83": 5
172 },
173 "conditionalFormats": [
174 {
175 "rule": { "type": "DataBarRule", "color": 15726335, "rangeValues": "E51:E65" },
176 "id": "69908097-d804-420a-bb1a-e7ec1024cee2",
177 "ranges": ["B51:B65"]
178 },
179 {
180 "rule": { "type": "DataBarRule", "color": 16775149, "rangeValues": "K51:K65" },
181 "id": "1ba4063f-c1d3-4588-a731-6d92d66ca393",
182 "ranges": ["H51:H65"]
183 },
184 {
185 "rule": { "type": "DataBarRule", "color": 15531509, "rangeValues": "D69:D83" },
186 "id": "cd2ee1d1-f7fa-4fa6-8e20-23519d360998",
187 "ranges": ["B69:B83"]
188 },
189 {
190 "rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "K69:K78" },
191 "id": "acf8e638-6670-4ab2-a451-aa5455e1e9ea",
192 "ranges": ["H69:H78"]
193 }
194 ],
195 "dataValidationRules": [],
196 "figures": [
197 {
198 "id": "fdceb3b9-643f-4d30-a572-2d9b0b684f17",
199 "width": 1027,
200 "height": 391,
201 "tag": "chart",
202 "data": {
203 "type": "combo",
204 "dataSetsHaveTitle": true,
205 "dataSets": [
206 {
207 "dataRange": "Data!B13:B37",
208 "yAxisId": "y",
209 "label": "Revenue",
210 "type": "bar"
211 },
212 {
213 "dataRange": "Data!D13:D37",
214 "label": "Average per order",
215 "yAxisId": "y1",
216 "trend": { "type": "polynomial", "order": 2, "display": false },
217 "type": "line"
218 }
219 ],
220 "legendPosition": "top",
221 "labelRange": "Data!A13:A37",
222 "title": { "text": "" },
223 "aggregated": false,
224 "axesDesign": {
225 "y": {
226 "title": { "text": "Total revenue" }
227 },
228 "y1": {
229 "title": { "text": "Average revenue per order" }
230 }
231 },
232 "showValues": false,
233 "humanize": true,
234 "chartId": "fdceb3b9-643f-4d30-a572-2d9b0b684f17"
235 },
236 "offset": { "x": 0, "y": 289 },
237 "col": 0,
238 "row": 0
239 },
240 {
241 "id": "1ebdd3d0-8af0-4922-9223-2da0d6ec024c",
242 "width": 1029,
243 "height": 416,
244 "tag": "chart",
245 "data": {
246 "type": "combo",
247 "dataSetsHaveTitle": true,
248 "dataSets": [
249 { "dataRange": "Data!H13:H20", "yAxisId": "y", "type": "bar" },
250 {
251 "dataRange": "Data!J13:J20",
252 "yAxisId": "y1",
253 "label": "Average per order",
254 "type": "line"
255 }
256 ],
257 "legendPosition": "top",
258 "labelRange": "Data!G13:G20",
259 "title": { "text": "" },
260 "aggregated": false,
261 "axesDesign": {
262 "y": {
263 "title": { "text": "Total revenue" }
264 },
265 "y1": {
266 "title": { "text": "Average revenue per order" }
267 }
268 },
269 "humanize": true,
270 "chartId": "1ebdd3d0-8af0-4922-9223-2da0d6ec024c"
271 },
272 "offset": { "x": 0, "y": 721 },
273 "col": 0,
274 "row": 0
275 },
276 {
277 "id": "49b3e330-3a31-4d43-9930-c42f2805c0c3",
278 "width": 200,
279 "height": 108,
280 "tag": "chart",
281 "data": {
282 "baselineColorDown": "#EA6175",
283 "baselineColorUp": "#43C5B1",
284 "baselineMode": "difference",
285 "title": { "text": "#Orders", "bold": true, "color": "#434343" },
286 "type": "scorecard",
287 "background": "#EFF6FF",
288 "keyValue": "Data!B2",
289 "humanize": false,
290 "chartId": "49b3e330-3a31-4d43-9930-c42f2805c0c3"
291 },
292 "offset": { "x": 620, "y": 10 },
293 "col": 0,
294 "row": 0
295 },
296 {
297 "id": "d96a0fa5-e91b-455c-8004-9f39eeb09ee2",
298 "width": 200,
299 "height": 108,
300 "tag": "chart",
301 "data": {
302 "baselineColorDown": "#EA6175",
303 "baselineColorUp": "#43C5B1",
304 "baselineMode": "difference",
305 "title": { "text": "Total revenue", "bold": true, "color": "#434343" },
306 "type": "scorecard",
307 "background": "#FFF7ED",
308 "keyValue": "Data!B3",
309 "humanize": false,
310 "chartId": "d96a0fa5-e91b-455c-8004-9f39eeb09ee2"
311 },
312 "offset": { "x": 0, "y": 127 },
313 "col": 0,
314 "row": 0
315 },
316 {
317 "id": "6b97f89c-8416-43db-a32e-d0ab5cf9051e",
318 "width": 200,
319 "height": 108,
320 "tag": "chart",
321 "data": {
322 "baselineColorDown": "#EA6175",
323 "baselineColorUp": "#43C5B1",
324 "baselineMode": "difference",
325 "title": { "text": "Untaxed revenue", "bold": true, "color": "#434343" },
326 "type": "scorecard",
327 "background": "#FFF7ED",
328 "keyValue": "Data!B4",
329 "humanize": false,
330 "chartId": "6b97f89c-8416-43db-a32e-d0ab5cf9051e"
331 },
332 "offset": { "x": 0, "y": 10 },
333 "col": 0,
334 "row": 0
335 },
336 {
337 "id": "cd102569-7656-4986-bf87-6e87b3ea493a",
338 "width": 200,
339 "height": 108,
340 "tag": "chart",
341 "data": {
342 "baselineColorDown": "#EA6175",
343 "baselineColorUp": "#43C5B1",
344 "baselineMode": "difference",
345 "title": { "text": "Untaxed revenue per order", "bold": true, "color": "#434343" },
346 "type": "scorecard",
347 "background": "#FFF7ED",
348 "keyValue": "Data!B5",
349 "humanize": false,
350 "chartId": "cd102569-7656-4986-bf87-6e87b3ea493a"
351 },
352 "offset": { "x": 207, "y": 10 },
353 "col": 0,
354 "row": 0
355 },
356 {
357 "id": "7b541ea8-8f93-44f4-9626-67073e540f16",
358 "width": 200,
359 "height": 108,
360 "tag": "chart",
361 "data": {
362 "baselineColorDown": "#EA6175",
363 "baselineColorUp": "#43C5B1",
364 "baselineMode": "difference",
365 "title": { "text": "Untaxed revenue per guest", "bold": true, "color": "#434343" },
366 "type": "scorecard",
367 "background": "#FFF7ED",
368 "keyValue": "Data!B7",
369 "humanize": false,
370 "chartId": "7b541ea8-8f93-44f4-9626-67073e540f16"
371 },
372 "offset": { "x": 414, "y": 10 },
373 "col": 0,
374 "row": 0
375 },
376 {
377 "id": "150978db-0307-4a65-a70a-e3a634dcfd48",
378 "width": 200,
379 "height": 108,
380 "tag": "chart",
381 "data": {
382 "baselineColorDown": "#EA6175",
383 "baselineColorUp": "#43C5B1",
384 "baselineMode": "difference",
385 "title": { "text": "Discount Rate", "bold": true, "color": "#434343" },
386 "type": "scorecard",
387 "background": "#FEF2F2",
388 "keyValue": "Data!B9",
389 "humanize": false,
390 "chartId": "150978db-0307-4a65-a70a-e3a634dcfd48"
391 },
392 "offset": { "x": 620, "y": 127 },
393 "col": 0,
394 "row": 0
395 },
396 {
397 "id": "77f395fa-f25d-4ba8-a99d-405a99ebeef7",
398 "width": 200,
399 "height": 108,
400 "tag": "chart",
401 "data": {
402 "baselineColorDown": "#EA6175",
403 "baselineColorUp": "#43C5B1",
404 "baselineMode": "difference",
405 "title": { "text": "Avg revenue per order", "bold": true, "color": "#434343" },
406 "type": "scorecard",
407 "background": "#FFF7ED",
408 "keyValue": "Data!B6",
409 "humanize": false,
410 "chartId": "77f395fa-f25d-4ba8-a99d-405a99ebeef7"
411 },
412 "offset": { "x": 207, "y": 127 },
413 "col": 0,
414 "row": 0
415 },
416 {
417 "id": "87cda1aa-ba42-4865-8f56-912dd9e323a7",
418 "width": 200,
419 "height": 108,
420 "tag": "chart",
421 "data": {
422 "baselineColorDown": "#EA6175",
423 "baselineColorUp": "#43C5B1",
424 "baselineMode": "difference",
425 "title": { "text": "Avg revenue per guest", "bold": true, "color": "#434343" },
426 "type": "scorecard",
427 "background": "#FFF7ED",
428 "keyValue": "Data!B8",
429 "humanize": false,
430 "chartId": "87cda1aa-ba42-4865-8f56-912dd9e323a7"
431 },
432 "offset": { "x": 414, "y": 127 },
433 "col": 0,
434 "row": 0
435 },
436 {
437 "id": "9b676d28-0a28",
438 "col": 5,
439 "row": 48,
440 "offset": { "x": 26, "y": 6 },
441 "width": 474,
442 "height": 465,
443 "tag": "carousel",
444 "data": {
445 "chartDefinitions": {
446 "bb13976b-be42": {
447 "title": {},
448 "background": "#FFFFFF",
449 "legendPosition": "top",
450 "metaData": {
451 "groupBy": ["product_categ_id"],
452 "measure": "price_total",
453 "order": null,
454 "resModel": "report.pos.order",
455 "mode": "bar"
456 },
457 "searchParams": {
458 "context": {
459 "group_by": []
460 },
461 "domain": [
462 "&",
463 ["state", "!=", "cancel"],
464 [
465 "config_id",
466 "in",
467 [4, 5]
468 ]
469 ],
470 "groupBy": ["product_categ_id"],
471 "orderBy": []
472 },
473 "type": "odoo_treemap",
474 "actionXmlId": "point_of_sale.action_report_pos_order_all",
475 "dataSets": [
476 {}
477 ]
478 }
479 },
480 "items": [
481 { "type": "chart", "chartId": "bb13976b-be42" },
482 { "type": "carouselDataView", "title": "Top 15" }
483 ],
484 "title": {
485 "text": "Top Categories",
486 "bold": true,
487 "fontSize": 21,
488 "color": "#01666B"
489 },
490 "fieldMatching": {
491 "bb13976b-be42": {
492 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" },
493 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" },
494 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" },
495 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
496 }
497 }
498 }
499 }
500 ],
501 "tables": [
502 {
503 "range": "A49:E65",
504 "type": "static",
505 "config": {
506 "hasFilters": false,
507 "totalRow": false,
508 "firstColumn": false,
509 "lastColumn": false,
510 "numberOfHeaders": 1,
511 "bandedRows": true,
512 "bandedColumns": false,
513 "automaticAutofill": true,
514 "styleId": "None"
515 }
516 },
517 {
518 "range": "A67:E83",
519 "type": "static",
520 "config": {
521 "hasFilters": false,
522 "totalRow": false,
523 "firstColumn": false,
524 "lastColumn": false,
525 "numberOfHeaders": 1,
526 "bandedRows": true,
527 "bandedColumns": false,
528 "automaticAutofill": true,
529 "styleId": "None"
530 }
531 },
532 {
533 "range": "G49:K65",
534 "type": "static",
535 "config": {
536 "hasFilters": false,
537 "totalRow": false,
538 "firstColumn": false,
539 "lastColumn": false,
540 "numberOfHeaders": 1,
541 "bandedRows": true,
542 "bandedColumns": false,
543 "automaticAutofill": true,
544 "styleId": "None"
545 }
546 },
547 {
548 "range": "H67:K83",
549 "type": "static",
550 "config": {
551 "hasFilters": false,
552 "totalRow": false,
553 "firstColumn": false,
554 "lastColumn": false,
555 "numberOfHeaders": 1,
556 "bandedRows": true,
557 "bandedColumns": false,
558 "automaticAutofill": true,
559 "styleId": "None"
560 }
561 }
562 ],
563 "areGridLinesVisible": true,
564 "isVisible": true,
565 "headerGroups": {
566 "ROW": [],
567 "COL": []
568 },
569 "comments": {}
570 },
571 {
572 "id": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
573 "name": "Data",
574 "colNumber": 29,
575 "rowNumber": 113,
576 "rows": {},
577 "cols": {
578 "0": { "size": 213 },
579 "3": { "size": 108 },
580 "6": { "size": 236 },
581 "8": { "size": 121 },
582 "9": { "size": 139 },
583 "12": { "size": 160 }
584 },
585 "merges": [],
586 "cells": {
587 "A1": "Measure",
588 "A2": "# Orders",
589 "A3": "Total revenue",
590 "A4": "Net revenue",
591 "A5": "Average untaxed revenue per order",
592 "A6": "Average total revenue per order",
593 "A7": "Average net revenue / sitting ",
594 "A8": "Average total revenue / sitting",
595 "A9": "Average discount",
596 "A12": "=_t(\"Revenue per hour\")",
597 "A13": "=_t(\"Time\")",
598 "A14": "0",
599 "A15": "1",
600 "A16": "2",
601 "A17": "3",
602 "A18": "4",
603 "A19": "5",
604 "A20": "6",
605 "A21": "7",
606 "A22": "8",
607 "A23": "9",
608 "A24": "10",
609 "A25": "11",
610 "A26": "12",
611 "A27": "13",
612 "A28": "14",
613 "A29": "15",
614 "A30": "16",
615 "A31": "17",
616 "A32": "18",
617 "A33": "19",
618 "A34": "20",
619 "A35": "21",
620 "A36": "22",
621 "A37": "23",
622 "B1": "Always",
623 "B2": "=PIVOT.VALUE(4,\"order_id:count_distinct\")",
624 "B3": "=PIVOT.VALUE(4,\"price_total:sum\")",
625 "B4": "=PIVOT.VALUE(4,\"price_subtotal_excl:sum\")",
626 "B5": "=PIVOT.VALUE(4,\"Average order w/o Tax:sum\")",
627 "B6": "=PIVOT.VALUE(4,\"Average total revenue per order:sum\")",
628 "B7": "=PIVOT.VALUE(5,\"Untaxed revenue per sitting:sum\")",
629 "B8": "=PIVOT.VALUE(5,\"Total revenue per sitting:sum\")",
630 "B9": "=iferror(PIVOT.VALUE(4,\"Discount / Order:sum\"))",
631 "B13": "=_t(\"Revenue\")",
632 "B14": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",0)",
633 "B15": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",1)",
634 "B16": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",2)",
635 "B17": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",3)",
636 "B18": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",4)",
637 "B19": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",5)",
638 "B20": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",6)",
639 "B21": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",7)",
640 "B22": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",8)",
641 "B23": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",9)",
642 "B24": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",10)",
643 "B25": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",11)",
644 "B26": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",12)",
645 "B27": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",13)",
646 "B28": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",14)",
647 "B29": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",15)",
648 "B30": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",16)",
649 "B31": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",17)",
650 "B32": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",18)",
651 "B33": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",19)",
652 "B34": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",20)",
653 "B35": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",21)",
654 "B36": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",22)",
655 "B37": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",23)",
656 "C13": "=_t(\"# Tables\")",
657 "C14": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A14)",
658 "C15": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A15)",
659 "C16": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A16)",
660 "C17": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A17)",
661 "C18": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A18)",
662 "C19": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A19)",
663 "C20": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A20)",
664 "C21": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A21)",
665 "C22": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A22)",
666 "C23": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A23)",
667 "C24": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A24)",
668 "C25": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A25)",
669 "C26": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A26)",
670 "C27": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A27)",
671 "C28": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A28)",
672 "C29": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A29)",
673 "C30": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A30)",
674 "C31": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A31)",
675 "C32": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A32)",
676 "C33": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A33)",
677 "C34": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A34)",
678 "C35": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A35)",
679 "C36": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A36)",
680 "C37": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A37)",
681 "D13": "=_t(\"Average per table\")",
682 "D14": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A14)",
683 "D15": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A15)",
684 "D16": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A16)",
685 "D17": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A17)",
686 "D18": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A18)",
687 "D19": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A19)",
688 "D20": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A20)",
689 "D21": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A21)",
690 "D22": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A22)",
691 "D23": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A23)",
692 "D24": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A24)",
693 "D25": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A25)",
694 "D26": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A26)",
695 "D27": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A27)",
696 "D28": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A28)",
697 "D29": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A29)",
698 "D30": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A30)",
699 "D31": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A31)",
700 "D32": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A32)",
701 "D33": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A33)",
702 "D34": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A34)",
703 "D35": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A35)",
704 "D36": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A36)",
705 "D37": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A37)",
706 "D38": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A38)",
707 "F12": "=_t(\"Revenue per day\")",
708 "F13": "=_t(\"Time\")",
709 "F14": "1",
710 "F15": "2",
711 "F16": "3",
712 "F17": "4",
713 "F18": "5",
714 "F19": "6",
715 "F20": "7",
716 "G13": "=_t(\"Day of the week\")",
717 "G14": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F14)",
718 "G15": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F15)",
719 "G16": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F16)",
720 "G17": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F17)",
721 "G18": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F18)",
722 "G19": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F19)",
723 "G20": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F20)",
724 "H13": "=_t(\"Revenue\")",
725 "H14": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F14)",
726 "H15": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F15)",
727 "H16": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F16)",
728 "H17": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F17)",
729 "H18": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F18)",
730 "H19": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F19)",
731 "H20": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F20)",
732 "I13": "=_t(\"# Tables\")",
733 "I14": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F14)",
734 "I15": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F15)",
735 "I16": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F16)",
736 "I17": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F17)",
737 "I18": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F18)",
738 "I19": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F19)",
739 "I20": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F20)",
740 "J13": "=_t(\"Average per table\")",
741 "J14": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F14)",
742 "J15": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F15)",
743 "J16": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F16)",
744 "J17": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F17)",
745 "J18": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F18)",
746 "J19": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F19)",
747 "J20": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F20)"
748 },
749 "styles": { "A1:B1": 7, "A12": 8, "F12": 8 },
750 "formats": {},
751 "borders": {},
752 "conditionalFormats": [],
753 "dataValidationRules": [],
754 "figures": [],
755 "tables": [
756 {
757 "range": "A13:D38",
758 "type": "static",
759 "config": {
760 "hasFilters": false,
761 "totalRow": false,
762 "firstColumn": false,
763 "lastColumn": false,
764 "numberOfHeaders": 1,
765 "bandedRows": false,
766 "bandedColumns": false,
767 "automaticAutofill": true,
768 "styleId": "TableStyleMedium5"
769 }
770 },
771 {
772 "range": "F13:J20",
773 "type": "static",
774 "config": {
775 "hasFilters": false,
776 "totalRow": false,
777 "firstColumn": false,
778 "lastColumn": false,
779 "numberOfHeaders": 1,
780 "bandedRows": false,
781 "bandedColumns": false,
782 "automaticAutofill": true,
783 "styleId": "TableStyleMedium5"
784 }
785 }
786 ],
787 "areGridLinesVisible": true,
788 "isVisible": true,
789 "headerGroups": {
790 "ROW": [],
791 "COL": []
792 },
793 "comments": {}
794 }
795 ],
796 "styles": {
797 "1": { "textColor": "#434343" },
798 "2": { "textColor": "#434343", "verticalAlign": "middle" },
799 "3": { "fontSize": 16, "textColor": "#01666B", "bold": true },
800 "4": { "textColor": "#434343", "bold": true, "fontSize": 11 },
801 "5": {
802 "textColor": "#434343",
803 "bold": true,
804 "fontSize": 11,
805 "align": "center"
806 },
807 "6": { "textColor": "#01666b", "fontSize": 16, "bold": true },
808 "7": { "fillColor": "#01666B", "textColor": "#FFFFFF", "bold": true },
809 "8": { "bold": true, "textColor": "#01666B" }
810 },
811 "formats": {},
812 "borders": {
813 "1": {
814 "bottom": { "style": "thin", "color": "#CCCCCC" }
815 },
816 "2": {
817 "top": { "style": "thin", "color": "#CCCCCC" }
818 },
819 "3": {
820 "bottom": { "style": "thick", "color": "#FFFFFF" }
821 },
822 "4": {
823 "top": { "style": "thick", "color": "#FFFFFF" },
824 "bottom": { "style": "thick", "color": "#FFFFFF" }
825 },
826 "5": {
827 "top": { "style": "thick", "color": "#FFFFFF" }
828 }
829 },
830 "revisionId": "START_REVISION",
831 "uniqueFigureIds": true,
832 "settings": {
833 "locale": {
834 "name": "English (US)",
835 "code": "en_US",
836 "thousandsSeparator": ",",
837 "decimalSeparator": ".",
838 "dateFormat": "mm/dd/yyyy",
839 "timeFormat": "hh:mm:ss",
840 "formulaArgSeparator": ",",
841 "weekStart": 7
842 }
843 },
844 "pivots": {
845 "0005f6f8-d7c6-4629-88c2-0596dce2bdb3": {
846 "type": "ODOO",
847 "domain": [
848 ["config_id.module_pos_restaurant", "=", true]
849 ],
850 "context": {},
851 "sortedColumn": null,
852 "measures": [
853 {
854 "id": "amount_total:sum",
855 "fieldName": "amount_total",
856 "aggregator": "sum"
857 },
858 { "id": "__count:sum", "fieldName": "__count", "aggregator": "sum" },
859 {
860 "id": "Average amount per table:sum",
861 "fieldName": "Average amount per table",
862 "aggregator": "sum",
863 "userDefinedName": "Average amount per table",
864 "computedBy": {
865 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
866 "formula": "=IFERROR('amount_total:sum'/'__count:sum',)"
867 }
868 }
869 ],
870 "model": "pos.order",
871 "columns": [],
872 "rows": [
873 {
874 "fieldName": "date_order",
875 "order": "asc",
876 "granularity": "hour_number"
877 }
878 ],
879 "name": "PoS Orders by Date (Day)",
880 "actionXmlId": "point_of_sale.action_pos_pos_form",
881 "formulaId": "1",
882 "fieldMatching": {
883 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 },
884 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" },
885 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" },
886 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
887 }
888 },
889 "e95e7842-672b-414d-9df8-d63fc9893cba": {
890 "type": "ODOO",
891 "domain": [
892 ["config_id.module_pos_restaurant", "=", true]
893 ],
894 "context": {},
895 "sortedColumn": null,
896 "measures": [
897 {
898 "id": "amount_total:sum",
899 "fieldName": "amount_total",
900 "aggregator": "sum"
901 },
902 { "id": "__count:sum", "fieldName": "__count", "aggregator": "sum" },
903 {
904 "id": "Average amount per table:sum",
905 "fieldName": "Average amount per table",
906 "aggregator": "sum",
907 "userDefinedName": "Average amount per table",
908 "computedBy": {
909 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
910 "formula": "=IFERROR('amount_total:sum'/'__count:sum',)"
911 }
912 }
913 ],
914 "model": "pos.order",
915 "columns": [],
916 "rows": [
917 {
918 "fieldName": "date_order",
919 "order": "asc",
920 "granularity": "day_of_week"
921 }
922 ],
923 "name": "PoS Orders by Date (Day) (copy)",
924 "actionXmlId": "point_of_sale.action_pos_pos_form",
925 "formulaId": "3",
926 "fieldMatching": {
927 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 },
928 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" },
929 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" },
930 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
931 }
932 },
933 "f9256105-4dad-47e4-bdbd-9dc1cdf54b96": {
934 "type": "ODOO",
935 "domain": [
936 "&",
937 ["config_id.module_pos_restaurant", "=", true],
938 [
939 "state",
940 "not in",
941 ["cancel"]
942 ]
943 ],
944 "context": {
945 "group_by": []
946 },
947 "sortedColumn": null,
948 "measures": [
949 {
950 "id": "price_total:sum",
951 "fieldName": "price_total",
952 "aggregator": "sum",
953 "format": ""
954 },
955 {
956 "id": "order_id:count_distinct",
957 "fieldName": "order_id",
958 "aggregator": "count_distinct"
959 },
960 {
961 "id": "price_subtotal_excl:sum",
962 "fieldName": "price_subtotal_excl",
963 "aggregator": "sum",
964 "format": ""
965 },
966 {
967 "id": "total_discount:sum",
968 "fieldName": "total_discount",
969 "aggregator": "sum"
970 },
971 {
972 "id": "Average order w/o Tax:sum",
973 "fieldName": "Average order w/o Tax",
974 "aggregator": "sum",
975 "userDefinedName": "Average order w/o Tax",
976 "computedBy": {
977 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
978 "formula": "=IFERROR('price_subtotal_excl:sum'/'order_id:count_distinct',)"
979 },
980 "format": ""
981 },
982 {
983 "id": "Discount / Order:sum",
984 "fieldName": "Discount / Order",
985 "aggregator": "sum",
986 "userDefinedName": "Discount / Order",
987 "computedBy": {
988 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
989 "formula": "='total_discount:sum'/'price_total:sum'"
990 },
991 "format": "0.00%"
992 },
993 {
994 "id": "Average total revenue per order:sum",
995 "fieldName": "Average total revenue per order",
996 "aggregator": "sum",
997 "userDefinedName": "Average total revenue per order",
998 "computedBy": {
999 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
1000 "formula": "=IFERROR('price_total:sum'/'order_id:count_distinct',)"
1001 },
1002 "format": ""
1003 }
1004 ],
1005 "model": "report.pos.order",
1006 "columns": [],
1007 "rows": [],
1008 "name": "Point of Sale Analysis",
1009 "actionXmlId": "point_of_sale.action_report_pos_order_all",
1010 "formulaId": "4",
1011 "fieldMatching": {
1012 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime", "offset": 0 },
1013 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" },
1014 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" },
1015 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1016 }
1017 },
1018 "d360c54a-4c26-43af-9fb6-3814df165c9e": {
1019 "type": "ODOO",
1020 "domain": [
1021 "&",
1022 ["customer_count", "!=", 0],
1023 ["config_id.module_pos_restaurant", "=", true]
1024 ],
1025 "context": {},
1026 "sortedColumn": null,
1027 "measures": [
1028 {
1029 "id": "amount_total:sum",
1030 "fieldName": "amount_total",
1031 "aggregator": "sum"
1032 },
1033 {
1034 "id": "customer_count:sum",
1035 "fieldName": "customer_count",
1036 "aggregator": "sum"
1037 },
1038 { "id": "amount_tax:sum", "fieldName": "amount_tax", "aggregator": "sum" },
1039 { "id": "__count", "fieldName": "__count" },
1040 {
1041 "id": "Untaxed Total:sum",
1042 "fieldName": "Untaxed Total",
1043 "aggregator": "sum",
1044 "userDefinedName": "Untaxed Total",
1045 "computedBy": {
1046 "sheetId": "2f23e6dd-5f3f-4ec7-9d7b-dc1b17c82f10",
1047 "formula": "='amount_total:sum'-'amount_tax:sum'"
1048 }
1049 },
1050 {
1051 "id": "Untaxed revenue per sitting:sum",
1052 "fieldName": "Untaxed revenue per sitting",
1053 "aggregator": "sum",
1054 "userDefinedName": "Untaxed revenue per sitting",
1055 "computedBy": {
1056 "sheetId": "2f23e6dd-5f3f-4ec7-9d7b-dc1b17c82f10",
1057 "formula": "=IFERROR('Untaxed Total:sum'/'customer_count:sum',)"
1058 },
1059 "format": ""
1060 },
1061 {
1062 "id": "Total revenue per sitting:sum",
1063 "fieldName": "Total revenue per sitting",
1064 "aggregator": "sum",
1065 "userDefinedName": "Total revenue per sitting",
1066 "computedBy": {
1067 "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a",
1068 "formula": "=IFERROR('amount_total:sum'/'customer_count:sum',)"
1069 },
1070 "format": ""
1071 }
1072 ],
1073 "model": "pos.order",
1074 "columns": [],
1075 "rows": [],
1076 "name": "PoS Orders",
1077 "actionXmlId": "point_of_sale.action_pos_pos_form",
1078 "formulaId": "5",
1079 "fieldMatching": {
1080 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 },
1081 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" },
1082 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" },
1083 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1084 }
1085 },
1086 "15d132ec-7f1b-4f5a-99c0-14c696423a56": {
1087 "type": "ODOO",
1088 "domain": [
1089 ["config_id.module_pos_restaurant", "=", true]
1090 ],
1091 "context": {
1092 "group_by": []
1093 },
1094 "measures": [
1095 {
1096 "id": "order_id:count_distinct",
1097 "fieldName": "order_id",
1098 "aggregator": "count_distinct",
1099 "userDefinedName": "Quantity Sold"
1100 },
1101 {
1102 "id": "product_qty:sum",
1103 "fieldName": "product_qty",
1104 "aggregator": "sum",
1105 "userDefinedName": "Revenue"
1106 },
1107 {
1108 "id": "price_total:sum",
1109 "fieldName": "price_total",
1110 "aggregator": "sum",
1111 "userDefinedName": "Margin",
1112 "format": ""
1113 }
1114 ],
1115 "model": "report.pos.order",
1116 "columns": [],
1117 "rows": [
1118 { "fieldName": "product_id" }
1119 ],
1120 "name": "Product ",
1121 "actionXmlId": "point_of_sale.action_report_pos_order_all",
1122 "formulaId": "6",
1123 "fieldMatching": {
1124 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" },
1125 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" },
1126 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" },
1127 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1128 }
1129 },
1130 "2ada09e2-9b25-41c4-96b9-f3d7f077e5cf": {
1131 "type": "ODOO",
1132 "domain": [
1133 ["config_id.module_pos_restaurant", "=", true]
1134 ],
1135 "context": {
1136 "params": {
1137 "debug": 1,
1138 "actionStack": [
1139 { "displayName": "Orders", "action": "pos-orders", "view_type": "pivot" }
1140 ],
1141 "action": "pos-orders",
1142 "view_type": "pivot",
1143 "globalState": {
1144 "useSampleModel": false,
1145 "searchModel": "{\"nextGroupId\":14,\"nextGroupNumber\":15,\"nextId\":22,\"query\":[],\"searchItems\":{\"1\":{\"type\":\"field\",\"fieldName\":\"name\",\"fieldType\":\"char\",\"description\":\"Order Ref\",\"groupId\":1,\"id\":1},\"2\":{\"type\":\"field\",\"fieldName\":\"pos_reference\",\"fieldType\":\"char\",\"description\":\"Receipt Number\",\"groupId\":2,\"id\":2},\"3\":{\"type\":\"field\",\"fieldName\":\"date_order\",\"fieldType\":\"datetime\",\"description\":\"Date\",\"groupId\":3,\"id\":3},\"4\":{\"type\":\"field\",\"fieldName\":\"tracking_number\",\"fieldType\":\"char\",\"description\":\"Order Number\",\"groupId\":4,\"id\":4},\"5\":{\"type\":\"field\",\"fieldName\":\"cashier\",\"fieldType\":\"char\",\"description\":\"Cashier name\",\"groupId\":5,\"id\":5},\"6\":{\"type\":\"field\",\"fieldName\":\"partner_id\",\"fieldType\":\"many2one\",\"description\":\"Customer\",\"groupId\":6,\"id\":6},\"7\":{\"type\":\"field\",\"fieldName\":\"session_id\",\"fieldType\":\"many2one\",\"description\":\"Session\",\"groupId\":7,\"id\":7},\"8\":{\"type\":\"field\",\"fieldName\":\"config_id\",\"fieldType\":\"many2one\",\"description\":\"Point of Sale\",\"groupId\":8,\"id\":8},\"9\":{\"type\":\"field\",\"filterDomain\":\"[('lines.product_id', 'ilike', self)]\",\"fieldName\":\"lines\",\"fieldType\":\"one2many\",\"description\":\"Product\",\"groupId\":9,\"id\":9},\"10\":{\"type\":\"filter\",\"domain\":\"[('state', '=', 'invoiced')]\",\"groupNumber\":10,\"name\":\"invoiced\",\"description\":\"Invoiced\",\"groupId\":10,\"id\":10},\"11\":{\"type\":\"filter\",\"domain\":\"[('state', '=', 'done')]\",\"groupNumber\":10,\"name\":\"posted\",\"description\":\"Posted\",\"groupId\":10,\"id\":11},\"12\":{\"type\":\"filter\",\"domain\":\"[('state', '=', 'cancel')]\",\"groupNumber\":10,\"name\":\"cancelled\",\"description\":\"Cancelled\",\"groupId\":10,\"id\":12},\"13\":{\"type\":\"dateFilter\",\"fieldName\":\"date_order\",\"fieldType\":\"datetime\",\"defaultGeneratorIds\":[\"month\"],\"optionsParams\":{\"startYear\":-2,\"endYear\":0,\"startMonth\":-2,\"endMonth\":0,\"customOptions\":[]},\"domain\":\"[]\",\"groupNumber\":12,\"name\":\"order_date\",\"description\":\"Order Date\",\"groupId\":11,\"id\":13},\"14\":{\"type\":\"groupBy\",\"fieldName\":\"session_id\",\"fieldType\":\"many2one\",\"groupNumber\":14,\"name\":\"session\",\"description\":\"Session\",\"groupId\":12,\"id\":14},\"15\":{\"type\":\"groupBy\",\"fieldName\":\"cashier\",\"fieldType\":\"char\",\"groupNumber\":14,\"name\":\"by_cashier\",\"description\":\"Cashier\",\"groupId\":12,\"id\":15},\"16\":{\"type\":\"groupBy\",\"fieldName\":\"config_id\",\"fieldType\":\"many2one\",\"groupNumber\":14,\"name\":\"config_id\",\"description\":\"Point of Sale\",\"groupId\":12,\"id\":16},\"17\":{\"type\":\"groupBy\",\"fieldName\":\"partner_id\",\"fieldType\":\"many2one\",\"groupNumber\":14,\"name\":\"customer\",\"description\":\"Customer\",\"groupId\":12,\"id\":17},\"18\":{\"type\":\"groupBy\",\"fieldName\":\"state\",\"fieldType\":\"selection\",\"groupNumber\":14,\"name\":\"status\",\"description\":\"Status\",\"groupId\":12,\"id\":18},\"19\":{\"type\":\"dateGroupBy\",\"fieldName\":\"date_order\",\"fieldType\":\"datetime\",\"defaultIntervalId\":\"month\",\"groupNumber\":14,\"name\":\"order_month\",\"description\":\"Order Date\",\"groupId\":12,\"id\":19},\"20\":{\"type\":\"comparison\",\"comparisonOptionId\":\"previous_period\",\"description\":\"Order Date: Previous Period\",\"dateFilterId\":13,\"groupId\":13,\"id\":20},\"21\":{\"type\":\"comparison\",\"comparisonOptionId\":\"previous_year\",\"description\":\"Order Date: Previous Year\",\"dateFilterId\":13,\"groupId\":13,\"id\":21}},\"searchPanelInfo\":{\"className\":\"\",\"fold\":false,\"viewTypes\":[\"kanban\",\"list\"],\"loaded\":false,\"shouldReload\":true},\"sections\":[]}"
1146 }
1147 }
1148 },
1149 "measures": [
1150 {
1151 "id": "amount_total:sum",
1152 "fieldName": "amount_total",
1153 "aggregator": "sum",
1154 "format": "",
1155 "userDefinedName": "Orders"
1156 },
1157 { "id": "__count", "fieldName": "__count", "userDefinedName": "Revenue" },
1158 {
1159 "id": "tip_amount:sum",
1160 "fieldName": "tip_amount",
1161 "aggregator": "sum",
1162 "format": "",
1163 "userDefinedName": "Tip"
1164 }
1165 ],
1166 "model": "pos.order",
1167 "columns": [],
1168 "rows": [
1169 { "fieldName": "table_id" }
1170 ],
1171 "name": "Table",
1172 "actionXmlId": "point_of_sale.action_pos_pos_form",
1173 "formulaId": "7",
1174 "fieldMatching": {
1175 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime" },
1176 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" },
1177 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" },
1178 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1179 }
1180 },
1181 "46b474b9-dc26-424c-b423-ac9209ba9899": {
1182 "type": "ODOO",
1183 "domain": [
1184 ["config_id.module_pos_restaurant", "=", true]
1185 ],
1186 "context": {
1187 "group_by": []
1188 },
1189 "measures": [
1190 {
1191 "id": "order_id:count_distinct",
1192 "fieldName": "order_id",
1193 "aggregator": "count_distinct",
1194 "userDefinedName": "Product "
1195 },
1196 {
1197 "id": "product_qty:sum",
1198 "fieldName": "product_qty",
1199 "aggregator": "sum",
1200 "userDefinedName": "Quantity"
1201 },
1202 {
1203 "id": "price_total:sum",
1204 "fieldName": "price_total",
1205 "aggregator": "sum",
1206 "format": "",
1207 "userDefinedName": "Revenue "
1208 }
1209 ],
1210 "model": "report.pos.order",
1211 "columns": [],
1212 "rows": [
1213 { "fieldName": "pos_categ_id" },
1214 { "fieldName": "product_id" }
1215 ],
1216 "name": "Category ",
1217 "actionXmlId": "point_of_sale.action_report_pos_order_all",
1218 "formulaId": "9",
1219 "fieldMatching": {
1220 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" },
1221 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" },
1222 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" },
1223 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1224 }
1225 },
1226 "bc1df90b-fa7e-417a-868c-5f48e0e20349": {
1227 "type": "ODOO",
1228 "domain": [
1229 "&",
1230 "&",
1231 ["user_id", "!=", false],
1232 [
1233 "state",
1234 "in",
1235 ["paid", "done", "invoiced"]
1236 ],
1237 ["config_id.module_pos_restaurant", "=", true]
1238 ],
1239 "context": {
1240 "group_by": []
1241 },
1242 "sortedColumn": null,
1243 "measures": [
1244 {
1245 "id": "order_id:count_distinct",
1246 "fieldName": "order_id",
1247 "aggregator": "count_distinct"
1248 },
1249 {
1250 "id": "price_total:sum",
1251 "fieldName": "price_total",
1252 "aggregator": "sum",
1253 "userDefinedName": "Revenue",
1254 "format": ""
1255 }
1256 ],
1257 "model": "report.pos.order",
1258 "columns": [],
1259 "rows": [
1260 { "fieldName": "user_id" }
1261 ],
1262 "name": "Responsible",
1263 "actionXmlId": "point_of_sale.action_report_pos_order_all",
1264 "formulaId": "10",
1265 "fieldMatching": {
1266 "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" },
1267 "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" },
1268 "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" },
1269 "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" }
1270 }
1271 }
1272 },
1273 "pivotNextId": 11,
1274 "customTableStyles": {},
1275 "globalFilters": [
1276 {
1277 "id": "4b44fd69-5c22-4402-be22-636d52226a76",
1278 "type": "date",
1279 "label": "Date"
1280 },
1281 {
1282 "id": "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d",
1283 "type": "relation",
1284 "label": "Product Category",
1285 "defaultValueDisplayNames": [],
1286 "modelName": "pos.category",
1287 "includeChildren": false
1288 },
1289 {
1290 "id": "6cb73c89-2591-456e-a7bc-8eb76e321b9e",
1291 "type": "relation",
1292 "label": "Product",
1293 "defaultValueDisplayNames": [],
1294 "modelName": "product.template",
1295 "includeChildren": false
1296 },
1297 {
1298 "id": "7674d2c1-e82b-4199-a991-6fae2268676b",
1299 "type": "relation",
1300 "label": "Waiter",
1301 "defaultValueDisplayNames": [],
1302 "modelName": "hr.employee",
1303 "includeChildren": false
1304 }
1305 ],
1306 "lists": {},
1307 "listNextId": 1,
1308 "chartOdooMenusReferences": {}
1309 }