{ "version": "18.5.10", "sheets": [ { "id": "c960176a-048b-4f9a-a326-3cc55c5fd1f2", "name": "Dashboard", "colNumber": 11, "rowNumber": 95, "rows": { "11": { "size": 36 }, "29": { "size": 41 }, "48": { "size": 39 }, "49": { "size": 36 }, "50": { "size": 26 }, "51": { "size": 26 }, "52": { "size": 26 }, "53": { "size": 26 }, "54": { "size": 26 }, "55": { "size": 26 }, "56": { "size": 26 }, "57": { "size": 26 }, "58": { "size": 26 }, "59": { "size": 26 }, "60": { "size": 26 }, "61": { "size": 26 }, "62": { "size": 26 }, "63": { "size": 26 }, "64": { "size": 26 }, "66": { "size": 39 }, "67": { "size": 34 }, "68": { "size": 26 }, "69": { "size": 26 }, "70": { "size": 26 }, "71": { "size": 26 }, "72": { "size": 26 }, "73": { "size": 26 }, "74": { "size": 26 }, "75": { "size": 26 }, "76": { "size": 26 }, "77": { "size": 26 }, "78": { "size": 26 }, "79": { "size": 26 }, "80": { "size": 26 }, "81": { "size": 26 }, "82": { "size": 26 } }, "cols": { "0": { "isHidden": true, "size": 40 }, "1": { "size": 288 }, "2": { "size": 99 }, "3": { "size": 76 }, "4": { "size": 65 }, "5": { "size": 27 }, "6": { "isHidden": true, "size": 41 }, "7": { "size": 217 }, "8": { "size": 92 }, "9": { "size": 80 }, "10": { "size": 84 } }, "merges": [], "cells": { "A50": "#", "A51": "1", "A52": "2", "A53": "3", "A54": "4", "A55": "5", "A56": "6", "A57": "7", "A58": "8", "A59": "9", "A60": "10", "A61": "11", "A62": "12", "A63": "13", "A64": "14", "A65": "15", "A68": "#", "A69": "1", "A70": "2", "A71": "3", "A72": "4", "A73": "5", "A74": "6", "A75": "7", "A76": "8", "A77": "9", "A78": "10", "A79": "11", "A80": "12", "A81": "13", "A82": "14", "A83": "15", "B12": "=_t(\"Hourly Total Revenue\")", "B30": "=_t(\"Daily Total Revenue\")", "B49": "=_t(\"Top 15 Products per Margin\") ", "B50": "=PIVOT(6, 10, FALSE, FALSE)", "B67": "=_t(\"Top 15 Tables per Revenue\")", "B68": "=PIVOT(7, 10, FALSE, FALSE)", "G50": "#", "G51": "1", "G52": "2", "G53": "3", "G54": "4", "G55": "5", "G56": "6", "G57": "7", "G58": "8", "G59": "9", "G60": "10", "G61": "11", "G62": "12", "G63": "13", "G64": "14", "G65": "15", "H50": "=PIVOT(9, 10, FALSE, FALSE)", "H67": "=_t(\"Top Responsibles\")", "H68": "=CHOOSECOLS(PIVOT(10, 10, FALSE, FALSE), 1)", "J68": "=CHOOSECOLS(PIVOT(10, 10, FALSE, FALSE), 2, 3)" }, "styles": { "A50": 1, "A68": 1, "G50": 1, "H69:K78": 1, "A51:E65": 2, "A69:E83": 2, "G51:K65": 2, "B12": 3, "B30": 3, "B49": 3, "B67": 3, "H49": 3, "B50": 4, "B68": 4, "H50": 4, "H68:J68": 4, "C50:E50": 5, "C68:E68": 5, "I50:K50": 5, "K68": 5, "H67": 6 }, "formats": {}, "borders": { "B67:D67": 1, "B49:E49": 1, "B12:K12": 1, "B30:K30": 1, "H49:K49": 1, "H67:K67": 1, "B50:E50": 2, "B68:E68": 2, "B13:K13": 2, "B31:K31": 2, "H50:K50": 2, "H68:K68": 2, "B51:E51": 3, "B69:E69": 3, "H51:K51": 3, "H69:K69": 3, "B70:D82": 4, "B52:E64": 4, "E70:E81": 4, "H52:K64": 4, "H70:K78": 4, "B83:D83": 5, "B65:E65": 5, "E82:E83": 5, "H65:K65": 5, "H79:K83": 5 }, "conditionalFormats": [ { "rule": { "type": "DataBarRule", "color": 15726335, "rangeValues": "E51:E65" }, "id": "69908097-d804-420a-bb1a-e7ec1024cee2", "ranges": ["B51:B65"] }, { "rule": { "type": "DataBarRule", "color": 16775149, "rangeValues": "K51:K65" }, "id": "1ba4063f-c1d3-4588-a731-6d92d66ca393", "ranges": ["H51:H65"] }, { "rule": { "type": "DataBarRule", "color": 15531509, "rangeValues": "D69:D83" }, "id": "cd2ee1d1-f7fa-4fa6-8e20-23519d360998", "ranges": ["B69:B83"] }, { "rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "K69:K78" }, "id": "acf8e638-6670-4ab2-a451-aa5455e1e9ea", "ranges": ["H69:H78"] } ], "dataValidationRules": [], "figures": [ { "id": "fdceb3b9-643f-4d30-a572-2d9b0b684f17", "width": 1027, "height": 391, "tag": "chart", "data": { "type": "combo", "dataSetsHaveTitle": true, "dataSets": [ { "dataRange": "Data!B13:B37", "yAxisId": "y", "label": "Revenue", "type": "bar" }, { "dataRange": "Data!D13:D37", "label": "Average per order", "yAxisId": "y1", "trend": { "type": "polynomial", "order": 2, "display": false }, "type": "line" } ], "legendPosition": "top", "labelRange": "Data!A13:A37", "title": { "text": "" }, "aggregated": false, "axesDesign": { "y": { "title": { "text": "Total revenue" } }, "y1": { "title": { "text": "Average revenue per order" } } }, "showValues": false, "humanize": true, "chartId": "fdceb3b9-643f-4d30-a572-2d9b0b684f17" }, "offset": { "x": 0, "y": 289 }, "col": 0, "row": 0 }, { "id": "1ebdd3d0-8af0-4922-9223-2da0d6ec024c", "width": 1029, "height": 416, "tag": "chart", "data": { "type": "combo", "dataSetsHaveTitle": true, "dataSets": [ { "dataRange": "Data!H13:H20", "yAxisId": "y", "type": "bar" }, { "dataRange": "Data!J13:J20", "yAxisId": "y1", "label": "Average per order", "type": "line" } ], "legendPosition": "top", "labelRange": "Data!G13:G20", "title": { "text": "" }, "aggregated": false, "axesDesign": { "y": { "title": { "text": "Total revenue" } }, "y1": { "title": { "text": "Average revenue per order" } } }, "humanize": true, "chartId": "1ebdd3d0-8af0-4922-9223-2da0d6ec024c" }, "offset": { "x": 0, "y": 721 }, "col": 0, "row": 0 }, { "id": "49b3e330-3a31-4d43-9930-c42f2805c0c3", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "#Orders", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#EFF6FF", "keyValue": "Data!B2", "humanize": false, "chartId": "49b3e330-3a31-4d43-9930-c42f2805c0c3" }, "offset": { "x": 620, "y": 10 }, "col": 0, "row": 0 }, { "id": "d96a0fa5-e91b-455c-8004-9f39eeb09ee2", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Total revenue", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B3", "humanize": false, "chartId": "d96a0fa5-e91b-455c-8004-9f39eeb09ee2" }, "offset": { "x": 0, "y": 127 }, "col": 0, "row": 0 }, { "id": "6b97f89c-8416-43db-a32e-d0ab5cf9051e", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Untaxed revenue", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B4", "humanize": false, "chartId": "6b97f89c-8416-43db-a32e-d0ab5cf9051e" }, "offset": { "x": 0, "y": 10 }, "col": 0, "row": 0 }, { "id": "cd102569-7656-4986-bf87-6e87b3ea493a", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Untaxed revenue per order", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B5", "humanize": false, "chartId": "cd102569-7656-4986-bf87-6e87b3ea493a" }, "offset": { "x": 207, "y": 10 }, "col": 0, "row": 0 }, { "id": "7b541ea8-8f93-44f4-9626-67073e540f16", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Untaxed revenue per guest", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B7", "humanize": false, "chartId": "7b541ea8-8f93-44f4-9626-67073e540f16" }, "offset": { "x": 414, "y": 10 }, "col": 0, "row": 0 }, { "id": "150978db-0307-4a65-a70a-e3a634dcfd48", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Discount Rate", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FEF2F2", "keyValue": "Data!B9", "humanize": false, "chartId": "150978db-0307-4a65-a70a-e3a634dcfd48" }, "offset": { "x": 620, "y": 127 }, "col": 0, "row": 0 }, { "id": "77f395fa-f25d-4ba8-a99d-405a99ebeef7", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Avg revenue per order", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B6", "humanize": false, "chartId": "77f395fa-f25d-4ba8-a99d-405a99ebeef7" }, "offset": { "x": 207, "y": 127 }, "col": 0, "row": 0 }, { "id": "87cda1aa-ba42-4865-8f56-912dd9e323a7", "width": 200, "height": 108, "tag": "chart", "data": { "baselineColorDown": "#EA6175", "baselineColorUp": "#43C5B1", "baselineMode": "difference", "title": { "text": "Avg revenue per guest", "bold": true, "color": "#434343" }, "type": "scorecard", "background": "#FFF7ED", "keyValue": "Data!B8", "humanize": false, "chartId": "87cda1aa-ba42-4865-8f56-912dd9e323a7" }, "offset": { "x": 414, "y": 127 }, "col": 0, "row": 0 }, { "id": "9b676d28-0a28", "col": 5, "row": 48, "offset": { "x": 26, "y": 6 }, "width": 474, "height": 465, "tag": "carousel", "data": { "chartDefinitions": { "bb13976b-be42": { "title": {}, "background": "#FFFFFF", "legendPosition": "top", "metaData": { "groupBy": ["product_categ_id"], "measure": "price_total", "order": null, "resModel": "report.pos.order", "mode": "bar" }, "searchParams": { "context": { "group_by": [] }, "domain": [ "&", ["state", "!=", "cancel"], [ "config_id", "in", [4, 5] ] ], "groupBy": ["product_categ_id"], "orderBy": [] }, "type": "odoo_treemap", "actionXmlId": "point_of_sale.action_report_pos_order_all", "dataSets": [ {} ] } }, "items": [ { "type": "chart", "chartId": "bb13976b-be42" }, { "type": "carouselDataView", "title": "Top 15" } ], "title": { "text": "Top Categories", "bold": true, "fontSize": 21, "color": "#01666B" }, "fieldMatching": { "bb13976b-be42": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } } } } ], "tables": [ { "range": "A49:E65", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": true, "bandedColumns": false, "automaticAutofill": true, "styleId": "None" } }, { "range": "A67:E83", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": true, "bandedColumns": false, "automaticAutofill": true, "styleId": "None" } }, { "range": "G49:K65", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": true, "bandedColumns": false, "automaticAutofill": true, "styleId": "None" } }, { "range": "H67:K83", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": true, "bandedColumns": false, "automaticAutofill": true, "styleId": "None" } } ], "areGridLinesVisible": true, "isVisible": true, "headerGroups": { "ROW": [], "COL": [] }, "comments": {} }, { "id": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "name": "Data", "colNumber": 29, "rowNumber": 113, "rows": {}, "cols": { "0": { "size": 213 }, "3": { "size": 108 }, "6": { "size": 236 }, "8": { "size": 121 }, "9": { "size": 139 }, "12": { "size": 160 } }, "merges": [], "cells": { "A1": "Measure", "A2": "# Orders", "A3": "Total revenue", "A4": "Net revenue", "A5": "Average untaxed revenue per order", "A6": "Average total revenue per order", "A7": "Average net revenue / sitting ", "A8": "Average total revenue / sitting", "A9": "Average discount", "A12": "=_t(\"Revenue per hour\")", "A13": "=_t(\"Time\")", "A14": "0", "A15": "1", "A16": "2", "A17": "3", "A18": "4", "A19": "5", "A20": "6", "A21": "7", "A22": "8", "A23": "9", "A24": "10", "A25": "11", "A26": "12", "A27": "13", "A28": "14", "A29": "15", "A30": "16", "A31": "17", "A32": "18", "A33": "19", "A34": "20", "A35": "21", "A36": "22", "A37": "23", "B1": "Always", "B2": "=PIVOT.VALUE(4,\"order_id:count_distinct\")", "B3": "=PIVOT.VALUE(4,\"price_total:sum\")", "B4": "=PIVOT.VALUE(4,\"price_subtotal_excl:sum\")", "B5": "=PIVOT.VALUE(4,\"Average order w/o Tax:sum\")", "B6": "=PIVOT.VALUE(4,\"Average total revenue per order:sum\")", "B7": "=PIVOT.VALUE(5,\"Untaxed revenue per sitting:sum\")", "B8": "=PIVOT.VALUE(5,\"Total revenue per sitting:sum\")", "B9": "=iferror(PIVOT.VALUE(4,\"Discount / Order:sum\"))", "B13": "=_t(\"Revenue\")", "B14": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",0)", "B15": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",1)", "B16": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",2)", "B17": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",3)", "B18": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",4)", "B19": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",5)", "B20": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",6)", "B21": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",7)", "B22": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",8)", "B23": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",9)", "B24": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",10)", "B25": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",11)", "B26": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",12)", "B27": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",13)", "B28": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",14)", "B29": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",15)", "B30": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",16)", "B31": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",17)", "B32": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",18)", "B33": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",19)", "B34": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",20)", "B35": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",21)", "B36": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",22)", "B37": "=PIVOT.VALUE(1,\"amount_total:sum\",\"date_order:hour_number\",23)", "C13": "=_t(\"# Tables\")", "C14": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A14)", "C15": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A15)", "C16": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A16)", "C17": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A17)", "C18": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A18)", "C19": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A19)", "C20": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A20)", "C21": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A21)", "C22": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A22)", "C23": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A23)", "C24": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A24)", "C25": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A25)", "C26": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A26)", "C27": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A27)", "C28": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A28)", "C29": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A29)", "C30": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A30)", "C31": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A31)", "C32": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A32)", "C33": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A33)", "C34": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A34)", "C35": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A35)", "C36": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A36)", "C37": "=PIVOT.VALUE(1,\"__count:sum\",\"date_order:hour_number\",A37)", "D13": "=_t(\"Average per table\")", "D14": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A14)", "D15": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A15)", "D16": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A16)", "D17": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A17)", "D18": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A18)", "D19": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A19)", "D20": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A20)", "D21": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A21)", "D22": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A22)", "D23": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A23)", "D24": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A24)", "D25": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A25)", "D26": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A26)", "D27": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A27)", "D28": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A28)", "D29": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A29)", "D30": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A30)", "D31": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A31)", "D32": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A32)", "D33": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A33)", "D34": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A34)", "D35": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A35)", "D36": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A36)", "D37": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A37)", "D38": "=PIVOT.VALUE(1,\"Average amount per table:sum\",\"date_order:hour_number\",A38)", "F12": "=_t(\"Revenue per day\")", "F13": "=_t(\"Time\")", "F14": "1", "F15": "2", "F16": "3", "F17": "4", "F18": "5", "F19": "6", "F20": "7", "G13": "=_t(\"Day of the week\")", "G14": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F14)", "G15": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F15)", "G16": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F16)", "G17": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F17)", "G18": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F18)", "G19": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F19)", "G20": "=PIVOT.HEADER(3,\"date_order:day_of_week\",F20)", "H13": "=_t(\"Revenue\")", "H14": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F14)", "H15": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F15)", "H16": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F16)", "H17": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F17)", "H18": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F18)", "H19": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F19)", "H20": "=PIVOT.VALUE(3,\"amount_total:sum\",\"date_order:day_of_week\",F20)", "I13": "=_t(\"# Tables\")", "I14": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F14)", "I15": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F15)", "I16": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F16)", "I17": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F17)", "I18": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F18)", "I19": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F19)", "I20": "=PIVOT.VALUE(3,\"__count:sum\",\"date_order:day_of_week\",F20)", "J13": "=_t(\"Average per table\")", "J14": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F14)", "J15": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F15)", "J16": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F16)", "J17": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F17)", "J18": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F18)", "J19": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F19)", "J20": "=PIVOT.VALUE(3,\"Average amount per table:sum\",\"date_order:day_of_week\",F20)" }, "styles": { "A1:B1": 7, "A12": 8, "F12": 8 }, "formats": {}, "borders": {}, "conditionalFormats": [], "dataValidationRules": [], "figures": [], "tables": [ { "range": "A13:D38", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": false, "bandedColumns": false, "automaticAutofill": true, "styleId": "TableStyleMedium5" } }, { "range": "F13:J20", "type": "static", "config": { "hasFilters": false, "totalRow": false, "firstColumn": false, "lastColumn": false, "numberOfHeaders": 1, "bandedRows": false, "bandedColumns": false, "automaticAutofill": true, "styleId": "TableStyleMedium5" } } ], "areGridLinesVisible": true, "isVisible": true, "headerGroups": { "ROW": [], "COL": [] }, "comments": {} } ], "styles": { "1": { "textColor": "#434343" }, "2": { "textColor": "#434343", "verticalAlign": "middle" }, "3": { "fontSize": 16, "textColor": "#01666B", "bold": true }, "4": { "textColor": "#434343", "bold": true, "fontSize": 11 }, "5": { "textColor": "#434343", "bold": true, "fontSize": 11, "align": "center" }, "6": { "textColor": "#01666b", "fontSize": 16, "bold": true }, "7": { "fillColor": "#01666B", "textColor": "#FFFFFF", "bold": true }, "8": { "bold": true, "textColor": "#01666B" } }, "formats": {}, "borders": { "1": { "bottom": { "style": "thin", "color": "#CCCCCC" } }, "2": { "top": { "style": "thin", "color": "#CCCCCC" } }, "3": { "bottom": { "style": "thick", "color": "#FFFFFF" } }, "4": { "top": { "style": "thick", "color": "#FFFFFF" }, "bottom": { "style": "thick", "color": "#FFFFFF" } }, "5": { "top": { "style": "thick", "color": "#FFFFFF" } } }, "revisionId": "START_REVISION", "uniqueFigureIds": true, "settings": { "locale": { "name": "English (US)", "code": "en_US", "thousandsSeparator": ",", "decimalSeparator": ".", "dateFormat": "mm/dd/yyyy", "timeFormat": "hh:mm:ss", "formulaArgSeparator": ",", "weekStart": 7 } }, "pivots": { "0005f6f8-d7c6-4629-88c2-0596dce2bdb3": { "type": "ODOO", "domain": [ ["config_id.module_pos_restaurant", "=", true] ], "context": {}, "sortedColumn": null, "measures": [ { "id": "amount_total:sum", "fieldName": "amount_total", "aggregator": "sum" }, { "id": "__count:sum", "fieldName": "__count", "aggregator": "sum" }, { "id": "Average amount per table:sum", "fieldName": "Average amount per table", "aggregator": "sum", "userDefinedName": "Average amount per table", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "=IFERROR('amount_total:sum'/'__count:sum',)" } } ], "model": "pos.order", "columns": [], "rows": [ { "fieldName": "date_order", "order": "asc", "granularity": "hour_number" } ], "name": "PoS Orders by Date (Day)", "actionXmlId": "point_of_sale.action_pos_pos_form", "formulaId": "1", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "e95e7842-672b-414d-9df8-d63fc9893cba": { "type": "ODOO", "domain": [ ["config_id.module_pos_restaurant", "=", true] ], "context": {}, "sortedColumn": null, "measures": [ { "id": "amount_total:sum", "fieldName": "amount_total", "aggregator": "sum" }, { "id": "__count:sum", "fieldName": "__count", "aggregator": "sum" }, { "id": "Average amount per table:sum", "fieldName": "Average amount per table", "aggregator": "sum", "userDefinedName": "Average amount per table", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "=IFERROR('amount_total:sum'/'__count:sum',)" } } ], "model": "pos.order", "columns": [], "rows": [ { "fieldName": "date_order", "order": "asc", "granularity": "day_of_week" } ], "name": "PoS Orders by Date (Day) (copy)", "actionXmlId": "point_of_sale.action_pos_pos_form", "formulaId": "3", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "f9256105-4dad-47e4-bdbd-9dc1cdf54b96": { "type": "ODOO", "domain": [ "&", ["config_id.module_pos_restaurant", "=", true], [ "state", "not in", ["cancel"] ] ], "context": { "group_by": [] }, "sortedColumn": null, "measures": [ { "id": "price_total:sum", "fieldName": "price_total", "aggregator": "sum", "format": "" }, { "id": "order_id:count_distinct", "fieldName": "order_id", "aggregator": "count_distinct" }, { "id": "price_subtotal_excl:sum", "fieldName": "price_subtotal_excl", "aggregator": "sum", "format": "" }, { "id": "total_discount:sum", "fieldName": "total_discount", "aggregator": "sum" }, { "id": "Average order w/o Tax:sum", "fieldName": "Average order w/o Tax", "aggregator": "sum", "userDefinedName": "Average order w/o Tax", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "=IFERROR('price_subtotal_excl:sum'/'order_id:count_distinct',)" }, "format": "" }, { "id": "Discount / Order:sum", "fieldName": "Discount / Order", "aggregator": "sum", "userDefinedName": "Discount / Order", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "='total_discount:sum'/'price_total:sum'" }, "format": "0.00%" }, { "id": "Average total revenue per order:sum", "fieldName": "Average total revenue per order", "aggregator": "sum", "userDefinedName": "Average total revenue per order", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "=IFERROR('price_total:sum'/'order_id:count_distinct',)" }, "format": "" } ], "model": "report.pos.order", "columns": [], "rows": [], "name": "Point of Sale Analysis", "actionXmlId": "point_of_sale.action_report_pos_order_all", "formulaId": "4", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime", "offset": 0 }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "d360c54a-4c26-43af-9fb6-3814df165c9e": { "type": "ODOO", "domain": [ "&", ["customer_count", "!=", 0], ["config_id.module_pos_restaurant", "=", true] ], "context": {}, "sortedColumn": null, "measures": [ { "id": "amount_total:sum", "fieldName": "amount_total", "aggregator": "sum" }, { "id": "customer_count:sum", "fieldName": "customer_count", "aggregator": "sum" }, { "id": "amount_tax:sum", "fieldName": "amount_tax", "aggregator": "sum" }, { "id": "__count", "fieldName": "__count" }, { "id": "Untaxed Total:sum", "fieldName": "Untaxed Total", "aggregator": "sum", "userDefinedName": "Untaxed Total", "computedBy": { "sheetId": "2f23e6dd-5f3f-4ec7-9d7b-dc1b17c82f10", "formula": "='amount_total:sum'-'amount_tax:sum'" } }, { "id": "Untaxed revenue per sitting:sum", "fieldName": "Untaxed revenue per sitting", "aggregator": "sum", "userDefinedName": "Untaxed revenue per sitting", "computedBy": { "sheetId": "2f23e6dd-5f3f-4ec7-9d7b-dc1b17c82f10", "formula": "=IFERROR('Untaxed Total:sum'/'customer_count:sum',)" }, "format": "" }, { "id": "Total revenue per sitting:sum", "fieldName": "Total revenue per sitting", "aggregator": "sum", "userDefinedName": "Total revenue per sitting", "computedBy": { "sheetId": "5d9c050d-2ba4-49ea-992f-142a93cad05a", "formula": "=IFERROR('amount_total:sum'/'customer_count:sum',)" }, "format": "" } ], "model": "pos.order", "columns": [], "rows": [], "name": "PoS Orders", "actionXmlId": "point_of_sale.action_pos_pos_form", "formulaId": "5", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime", "offset": 0 }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "15d132ec-7f1b-4f5a-99c0-14c696423a56": { "type": "ODOO", "domain": [ ["config_id.module_pos_restaurant", "=", true] ], "context": { "group_by": [] }, "measures": [ { "id": "order_id:count_distinct", "fieldName": "order_id", "aggregator": "count_distinct", "userDefinedName": "Quantity Sold" }, { "id": "product_qty:sum", "fieldName": "product_qty", "aggregator": "sum", "userDefinedName": "Revenue" }, { "id": "price_total:sum", "fieldName": "price_total", "aggregator": "sum", "userDefinedName": "Margin", "format": "" } ], "model": "report.pos.order", "columns": [], "rows": [ { "fieldName": "product_id" } ], "name": "Product ", "actionXmlId": "point_of_sale.action_report_pos_order_all", "formulaId": "6", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "2ada09e2-9b25-41c4-96b9-f3d7f077e5cf": { "type": "ODOO", "domain": [ ["config_id.module_pos_restaurant", "=", true] ], "context": { "params": { "debug": 1, "actionStack": [ { "displayName": "Orders", "action": "pos-orders", "view_type": "pivot" } ], "action": "pos-orders", "view_type": "pivot", "globalState": { "useSampleModel": false, "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\":[]}" } } }, "measures": [ { "id": "amount_total:sum", "fieldName": "amount_total", "aggregator": "sum", "format": "", "userDefinedName": "Orders" }, { "id": "__count", "fieldName": "__count", "userDefinedName": "Revenue" }, { "id": "tip_amount:sum", "fieldName": "tip_amount", "aggregator": "sum", "format": "", "userDefinedName": "Tip" } ], "model": "pos.order", "columns": [], "rows": [ { "fieldName": "table_id" } ], "name": "Table", "actionXmlId": "point_of_sale.action_pos_pos_form", "formulaId": "7", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date_order", "type": "datetime" }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "lines.product_id.pos_categ_ids", "type": "many2many" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "lines.product_id.product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "46b474b9-dc26-424c-b423-ac9209ba9899": { "type": "ODOO", "domain": [ ["config_id.module_pos_restaurant", "=", true] ], "context": { "group_by": [] }, "measures": [ { "id": "order_id:count_distinct", "fieldName": "order_id", "aggregator": "count_distinct", "userDefinedName": "Product " }, { "id": "product_qty:sum", "fieldName": "product_qty", "aggregator": "sum", "userDefinedName": "Quantity" }, { "id": "price_total:sum", "fieldName": "price_total", "aggregator": "sum", "format": "", "userDefinedName": "Revenue " } ], "model": "report.pos.order", "columns": [], "rows": [ { "fieldName": "pos_categ_id" }, { "fieldName": "product_id" } ], "name": "Category ", "actionXmlId": "point_of_sale.action_report_pos_order_all", "formulaId": "9", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } }, "bc1df90b-fa7e-417a-868c-5f48e0e20349": { "type": "ODOO", "domain": [ "&", "&", ["user_id", "!=", false], [ "state", "in", ["paid", "done", "invoiced"] ], ["config_id.module_pos_restaurant", "=", true] ], "context": { "group_by": [] }, "sortedColumn": null, "measures": [ { "id": "order_id:count_distinct", "fieldName": "order_id", "aggregator": "count_distinct" }, { "id": "price_total:sum", "fieldName": "price_total", "aggregator": "sum", "userDefinedName": "Revenue", "format": "" } ], "model": "report.pos.order", "columns": [], "rows": [ { "fieldName": "user_id" } ], "name": "Responsible", "actionXmlId": "point_of_sale.action_report_pos_order_all", "formulaId": "10", "fieldMatching": { "4b44fd69-5c22-4402-be22-636d52226a76": { "chain": "date", "type": "datetime" }, "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d": { "chain": "pos_categ_id", "type": "many2one" }, "6cb73c89-2591-456e-a7bc-8eb76e321b9e": { "chain": "product_tmpl_id", "type": "many2one" }, "7674d2c1-e82b-4199-a991-6fae2268676b": { "chain": "employee_id", "type": "many2one" } } } }, "pivotNextId": 11, "customTableStyles": {}, "globalFilters": [ { "id": "4b44fd69-5c22-4402-be22-636d52226a76", "type": "date", "label": "Date" }, { "id": "31b1d5d4-6549-4dbe-9c8e-57d6e6e0889d", "type": "relation", "label": "Product Category", "defaultValueDisplayNames": [], "modelName": "pos.category", "includeChildren": false }, { "id": "6cb73c89-2591-456e-a7bc-8eb76e321b9e", "type": "relation", "label": "Product", "defaultValueDisplayNames": [], "modelName": "product.template", "includeChildren": false }, { "id": "7674d2c1-e82b-4199-a991-6fae2268676b", "type": "relation", "label": "Waiter", "defaultValueDisplayNames": [], "modelName": "hr.employee", "includeChildren": false } ], "lists": {}, "listNextId": 1, "chartOdooMenusReferences": {} }