772 lines
25 KiB
JSON
772 lines
25 KiB
JSON
{
|
|
"version": "18.5.10",
|
|
"sheets": [
|
|
{
|
|
"id": "sheet1",
|
|
"name": "Dashboard",
|
|
"colNumber": 7,
|
|
"rowNumber": 54,
|
|
"rows": {
|
|
"6": { "size": 40 },
|
|
"22": { "size": 40 },
|
|
"23": { "size": 40 },
|
|
"24": { "size": 30 },
|
|
"25": { "size": 30 },
|
|
"26": { "size": 30 },
|
|
"27": { "size": 30 },
|
|
"28": { "size": 30 },
|
|
"29": { "size": 30 },
|
|
"30": { "size": 30 },
|
|
"31": { "size": 30 },
|
|
"32": { "size": 30 },
|
|
"33": { "size": 30 },
|
|
"35": { "size": 40 },
|
|
"36": { "size": 40 },
|
|
"37": { "size": 30 },
|
|
"38": { "size": 30 },
|
|
"39": { "size": 30 },
|
|
"40": { "size": 30 },
|
|
"41": { "size": 30 },
|
|
"42": { "size": 30 },
|
|
"43": { "size": 30 },
|
|
"44": { "size": 30 },
|
|
"45": { "size": 30 },
|
|
"46": { "size": 30 }
|
|
},
|
|
"cols": {
|
|
"0": { "size": 275 },
|
|
"1": { "size": 100 },
|
|
"2": { "size": 100 },
|
|
"3": { "size": 50 },
|
|
"4": { "size": 275 },
|
|
"5": { "size": 100 },
|
|
"6": { "size": 100 }
|
|
},
|
|
"merges": [],
|
|
"cells": {
|
|
"A7": "[Daily Rentals](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[[\"state\",\"in\",[\"sale\",\"done\"]]],\"context\":{\"group_by\":[],\"graph_measure\":\"quantity\",\"graph_mode\":\"line\",\"graph_groupbys\":[\"date:day\"]},\"modelName\":\"sale.rental.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Rental Analysis\"})",
|
|
"A24": "=PIVOT(1, 10, FALSE, FALSE)",
|
|
"A36": "[Top Salespeople](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"&\",[\"state\",\"in\",[\"sale\",\"done\"]],[\"user_id\",\"!=\",false]],\"context\":{\"group_by\":[\"user_id\"],\"pivot_measures\":[\"quantity\",\"price\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"user_id\"]},\"modelName\":\"sale.rental.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Salespeople\"})",
|
|
"A37": "=PIVOT(3, 10, FALSE, FALSE)",
|
|
"E23": "[Top Products](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"&\",[\"state\",\"in\",[\"sale\",\"done\"]],[\"product_id\",\"!=\",false]],\"context\":{\"group_by\":[\"product_id\"],\"pivot_measures\":[\"quantity\",\"price\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"product_id\"]},\"modelName\":\"sale.rental.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Products\"})",
|
|
"E24": "=PIVOT(2, 10, FALSE, FALSE)",
|
|
"E36": "[Top Customers](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[[\"state\",\"in\",[\"sale\",\"done\"]]],\"context\":{\"group_by\":[\"partner_id\"],\"pivot_measures\":[\"quantity\",\"price\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"partner_id\"]},\"modelName\":\"sale.rental.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Customers\"})",
|
|
"E37": "=PIVOT(4, 10, FALSE, FALSE)"
|
|
},
|
|
"styles": {
|
|
"A7": 1,
|
|
"A23": 1,
|
|
"A36": 1,
|
|
"E23": 1,
|
|
"E36": 1,
|
|
"A24": 2,
|
|
"A37": 2,
|
|
"E24": 2,
|
|
"E37": 2,
|
|
"A25:C34": 3,
|
|
"A38:C47": 3,
|
|
"E25:G34": 3,
|
|
"E38:G47": 3,
|
|
"B24:C24": 4,
|
|
"B37:C37": 4,
|
|
"F24:G24": 4,
|
|
"F37:G37": 4
|
|
},
|
|
"formats": {},
|
|
"borders": {
|
|
"A23:C23": 1,
|
|
"A36:C36": 1,
|
|
"A7:G7": 1,
|
|
"E23:G23": 1,
|
|
"E36:G36": 1,
|
|
"A24:C24": 2,
|
|
"A37:C37": 2,
|
|
"A8:G8": 2,
|
|
"E24:G24": 2,
|
|
"E37:G37": 2,
|
|
"A25:C25": 3,
|
|
"A38:C38": 3,
|
|
"E25:G25": 3,
|
|
"E38:G38": 3,
|
|
"A26:C34": 4,
|
|
"A39:C47": 4,
|
|
"E26:G34": 4,
|
|
"E39:G47": 4,
|
|
"A35:C35": 5,
|
|
"A48:C48": 5,
|
|
"E35:G35": 5,
|
|
"E48:G48": 5
|
|
},
|
|
"conditionalFormats": [
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15531509, "rangeValues": "C25:C34" },
|
|
"id": "75ca0d95-1a78-476f-87aa-a5306b3d60a1",
|
|
"ranges": ["A25:A34"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16775149, "rangeValues": "G25:G34" },
|
|
"id": "e527cbe0-515d-443f-be70-061c083eb9db",
|
|
"ranges": ["E25:E34"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "C38:C47" },
|
|
"id": "f29025fd-0ff4-414c-ac8a-7f79dd4f54df",
|
|
"ranges": ["A38:A47"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15726335, "rangeValues": "G38:G47" },
|
|
"id": "675333ff-883d-471e-9db2-25883d9c19e5",
|
|
"ranges": ["E38:E47"]
|
|
}
|
|
],
|
|
"dataValidationRules": [],
|
|
"figures": [
|
|
{
|
|
"id": "4ce3be5b-1e3d-4174-a375-c9841f11475d",
|
|
"width": 1000,
|
|
"height": 344,
|
|
"tag": "chart",
|
|
"data": {
|
|
"title": { "text": "" },
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "none",
|
|
"metaData": {
|
|
"groupBy": ["date:day"],
|
|
"measure": "quantity",
|
|
"order": null,
|
|
"resModel": "sale.rental.report",
|
|
"mode": "line",
|
|
"cumulatedStart": false
|
|
},
|
|
"searchParams": {
|
|
"comparison": null,
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
[
|
|
"state",
|
|
"in",
|
|
["sale", "done"]
|
|
]
|
|
],
|
|
"groupBy": [],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_line",
|
|
"dataSets": [
|
|
{}
|
|
],
|
|
"verticalAxisPosition": "left",
|
|
"stacked": false,
|
|
"cumulatedStart": false,
|
|
"axesDesign": {
|
|
"y": {
|
|
"title": { "text": "Rentals" }
|
|
}
|
|
},
|
|
"fillArea": true,
|
|
"chartId": "4ce3be5b-1e3d-4174-a375-c9841f11475d",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"offset": { "x": 0, "y": 178 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "01657be1-2ed9-48bd-aab5-158f7d15e752",
|
|
"width": 211,
|
|
"height": 102,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Rentals", "bold": true, "color": "#434343" },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!E3",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D3",
|
|
"humanize": false,
|
|
"chartId": "01657be1-2ed9-48bd-aab5-158f7d15e752"
|
|
},
|
|
"offset": { "x": 220, "y": 12 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "097038ff-456e-48b7-9908-2a07d5ff3440",
|
|
"width": 200,
|
|
"height": 102,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Revenue", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!E7",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D7",
|
|
"humanize": false,
|
|
"chartId": "097038ff-456e-48b7-9908-2a07d5ff3440"
|
|
},
|
|
"offset": { "x": 440, "y": 12 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "81f8cba7-aabc-4e13-a454-4660645be79f",
|
|
"width": 211,
|
|
"height": 102,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Quotations", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!E2",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D2",
|
|
"humanize": false,
|
|
"chartId": "81f8cba7-aabc-4e13-a454-4660645be79f"
|
|
},
|
|
"offset": { "x": 0, "y": 12 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "431c902d-42eb",
|
|
"col": 0,
|
|
"row": 22,
|
|
"offset": { "x": 0, "y": 7 },
|
|
"width": 474,
|
|
"height": 395,
|
|
"tag": "carousel",
|
|
"data": {
|
|
"chartDefinitions": {
|
|
"eb6085a9-cc1c": {
|
|
"title": {},
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "top",
|
|
"metaData": {
|
|
"groupBy": ["categ_id"],
|
|
"measure": "price",
|
|
"order": null,
|
|
"resModel": "sale.rental.report",
|
|
"mode": "bar"
|
|
},
|
|
"searchParams": {
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
["state", "=", "sale"]
|
|
],
|
|
"groupBy": ["categ_id"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_treemap",
|
|
"actionXmlId": "sale_renting.action_rental_report",
|
|
"dataSets": [
|
|
{}
|
|
]
|
|
}
|
|
},
|
|
"items": [
|
|
{ "type": "chart", "chartId": "eb6085a9-cc1c" },
|
|
{ "type": "carouselDataView", "title": "Top 10" }
|
|
],
|
|
"title": {
|
|
"text": "Top Categories",
|
|
"bold": true,
|
|
"fontSize": 21,
|
|
"color": "#01666B"
|
|
},
|
|
"fieldMatching": {
|
|
"eb6085a9-cc1c": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date" },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tables": [
|
|
{
|
|
"range": "A24:C34",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "A37:C47",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "E24:G34",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "E37:G47",
|
|
"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": "d4904225-836f-41ab-afe0-fa94d5f553d1",
|
|
"name": "Data",
|
|
"colNumber": 19,
|
|
"rowNumber": 99,
|
|
"rows": {},
|
|
"cols": {},
|
|
"merges": [],
|
|
"cells": {
|
|
"A1": "=_t(\"KPI\")",
|
|
"A2": "=_t(\"Quotations\")",
|
|
"A3": "=_t(\"Orders\")",
|
|
"A4": "=_t(\"Ordered Qty\")",
|
|
"A5": "=_t(\"Picked-up Qty\")",
|
|
"A6": "=_t(\"Returned Qty\")",
|
|
"A7": "=_t(\"Revenue\")",
|
|
"B1": "=_t(\"Current\")",
|
|
"B2": "=PIVOT.VALUE(7,\"__count\",\"state\",\"draft\")",
|
|
"B3": "=PIVOT.VALUE(7,\"__count\",\"state\",\"sale\")",
|
|
"B4": "=PIVOT.VALUE(7,\"quantity\",\"state\",\"sale\")",
|
|
"B5": "=PIVOT.VALUE(7,\"qty_delivered\",\"state\",\"sale\")",
|
|
"B6": "=PIVOT.VALUE(7,\"qty_returned\",\"state\",\"sale\")",
|
|
"B7": "=PIVOT.VALUE(7,\"price\",\"state\",\"sale\")",
|
|
"C1": "=_t(\"Previous\")",
|
|
"C2": "=PIVOT.VALUE(8,\"__count\",\"state\",\"draft\")",
|
|
"C3": "=PIVOT.VALUE(8,\"__count\",\"state\",\"sale\")",
|
|
"C4": "=PIVOT.VALUE(8,\"quantity\",\"state\",\"sale\")",
|
|
"C5": "=PIVOT.VALUE(8,\"qty_delivered\",\"state\",\"sale\")",
|
|
"C6": "=PIVOT.VALUE(8,\"qty_returned\",\"state\",\"sale\")",
|
|
"C7": "=PIVOT.VALUE(8,\"price\",\"state\",\"sale\")",
|
|
"D1": "=_t(\"Current\")",
|
|
"D2": "=FORMAT.LARGE.NUMBER(B2)",
|
|
"D3": "=FORMAT.LARGE.NUMBER(B3)",
|
|
"D4": "=FORMAT.LARGE.NUMBER(B4)",
|
|
"D5": "=FORMAT.LARGE.NUMBER(B5)",
|
|
"D6": "=FORMAT.LARGE.NUMBER(B6)",
|
|
"D7": "=FORMAT.LARGE.NUMBER(B7)",
|
|
"E1": "=_t(\"Previous\")",
|
|
"E2": "=FORMAT.LARGE.NUMBER(C2)",
|
|
"E3": "=FORMAT.LARGE.NUMBER(C3)",
|
|
"E4": "=FORMAT.LARGE.NUMBER(C4)",
|
|
"E5": "=FORMAT.LARGE.NUMBER(C5)",
|
|
"E6": "=FORMAT.LARGE.NUMBER(C6)",
|
|
"E7": "=FORMAT.LARGE.NUMBER(C7)"
|
|
},
|
|
"styles": { "A1:E1": 5, "D2:E7": 6 },
|
|
"formats": {},
|
|
"borders": {},
|
|
"conditionalFormats": [],
|
|
"dataValidationRules": [],
|
|
"figures": [],
|
|
"tables": [],
|
|
"areGridLinesVisible": true,
|
|
"isVisible": true,
|
|
"headerGroups": {
|
|
"ROW": [],
|
|
"COL": []
|
|
},
|
|
"comments": {}
|
|
}
|
|
],
|
|
"styles": {
|
|
"1": { "textColor": "#01666b", "bold": true, "fontSize": 16 },
|
|
"2": { "textColor": "#434343", "fontSize": 11, "bold": true },
|
|
"3": { "textColor": "#434343", "verticalAlign": "middle" },
|
|
"4": {
|
|
"textColor": "#434343",
|
|
"fontSize": 11,
|
|
"bold": true,
|
|
"align": "center"
|
|
},
|
|
"5": { "bold": true },
|
|
"6": { "fillColor": "#f2f2f2" }
|
|
},
|
|
"formats": {},
|
|
"borders": {
|
|
"1": {
|
|
"bottom": { "style": "thin", "color": "#CCCCCC" }
|
|
},
|
|
"2": {
|
|
"top": { "style": "thin", "color": "#CCCCCC" }
|
|
},
|
|
"3": {
|
|
"bottom": { "style": "thin", "color": "#FFFFFF" }
|
|
},
|
|
"4": {
|
|
"top": { "style": "thin", "color": "#FFFFFF" },
|
|
"bottom": { "style": "thin", "color": "#FFFFFF" }
|
|
},
|
|
"5": {
|
|
"top": { "style": "thin", "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": {
|
|
"1": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"in",
|
|
["sale", "done"]
|
|
],
|
|
["categ_id", "!=", false]
|
|
],
|
|
"id": "1",
|
|
"measures": [
|
|
{
|
|
"id": "quantity",
|
|
"fieldName": "quantity",
|
|
"userDefinedName": "Ordered"
|
|
},
|
|
{ "id": "price", "fieldName": "price", "userDefinedName": "Revenue" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "Category",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "1",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "categ_id" }
|
|
]
|
|
},
|
|
"2": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"in",
|
|
["sale", "done"]
|
|
],
|
|
["product_id", "!=", false]
|
|
],
|
|
"id": "2",
|
|
"measures": [
|
|
{
|
|
"id": "quantity",
|
|
"fieldName": "quantity",
|
|
"userDefinedName": "Ordered"
|
|
},
|
|
{ "id": "price", "fieldName": "price", "userDefinedName": "Revenue" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "Product",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "2",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "product_id" }
|
|
]
|
|
},
|
|
"3": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"in",
|
|
["sale", "done"]
|
|
],
|
|
["user_id", "!=", false]
|
|
],
|
|
"id": "3",
|
|
"measures": [
|
|
{
|
|
"id": "quantity",
|
|
"fieldName": "quantity",
|
|
"userDefinedName": "Ordered"
|
|
},
|
|
{ "id": "price", "fieldName": "price", "userDefinedName": "Revenue" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "Salesperson",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "3",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "user_id" }
|
|
]
|
|
},
|
|
"4": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [
|
|
[
|
|
"state",
|
|
"in",
|
|
["sale", "done"]
|
|
]
|
|
],
|
|
"id": "4",
|
|
"measures": [
|
|
{
|
|
"id": "quantity",
|
|
"fieldName": "quantity",
|
|
"userDefinedName": "Ordered"
|
|
},
|
|
{ "id": "price", "fieldName": "price", "userDefinedName": "Revenue" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "Customer",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "4",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "partner_id" }
|
|
]
|
|
},
|
|
"7": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": 0 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [],
|
|
"id": "7",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "quantity", "fieldName": "quantity" },
|
|
{ "id": "qty_delivered", "fieldName": "qty_delivered" },
|
|
{ "id": "qty_returned", "fieldName": "qty_returned" },
|
|
{ "id": "price", "fieldName": "price" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "rental stats - current",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "7",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "state" }
|
|
]
|
|
},
|
|
"8": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a58dc8ef-f393-4607-bdcd-acb43a20585d": { "chain": "date", "type": "date", "offset": -1 },
|
|
"fe7785ab-5c8e-404a-84f0-990dd4461c09": { "chain": "categ_id", "type": "many2one" },
|
|
"82fcd2d0-6793-4bb2-8fae-549decfe46e9": { "chain": "product_id", "type": "many2one" },
|
|
"b810ed25-c56a-4a70-ab8c-f12f54c0d8f4": { "chain": "user_id", "type": "many2one" },
|
|
"64e3bd4b-8b6d-4776-b802-d678cf8c4f56": { "chain": "partner_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": []
|
|
},
|
|
"domain": [],
|
|
"id": "8",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "quantity", "fieldName": "quantity" },
|
|
{ "id": "qty_delivered", "fieldName": "qty_delivered" },
|
|
{ "id": "qty_returned", "fieldName": "qty_returned" },
|
|
{ "id": "price", "fieldName": "price" }
|
|
],
|
|
"model": "sale.rental.report",
|
|
"name": "rental stats - previous",
|
|
"sortedColumn": {
|
|
"measure": "price",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "8",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "state" }
|
|
]
|
|
}
|
|
},
|
|
"pivotNextId": 9,
|
|
"customTableStyles": {},
|
|
"globalFilters": [
|
|
{
|
|
"id": "a58dc8ef-f393-4607-bdcd-acb43a20585d",
|
|
"type": "date",
|
|
"label": "Period",
|
|
"defaultValue": "last_30_days"
|
|
},
|
|
{
|
|
"id": "fe7785ab-5c8e-404a-84f0-990dd4461c09",
|
|
"type": "relation",
|
|
"label": "Product Category",
|
|
"modelName": "product.category",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "82fcd2d0-6793-4bb2-8fae-549decfe46e9",
|
|
"type": "relation",
|
|
"label": "Product",
|
|
"modelName": "product.product",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "b810ed25-c56a-4a70-ab8c-f12f54c0d8f4",
|
|
"type": "relation",
|
|
"label": "Salesperson",
|
|
"modelName": "res.users",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "64e3bd4b-8b6d-4776-b802-d678cf8c4f56",
|
|
"type": "relation",
|
|
"label": "Customer",
|
|
"modelName": "res.partner",
|
|
"defaultValueDisplayNames": []
|
|
}
|
|
],
|
|
"lists": {},
|
|
"listNextId": 1,
|
|
"chartOdooMenusReferences": {
|
|
"4ce3be5b-1e3d-4174-a375-c9841f11475d": "sale_renting.rental_menu_root",
|
|
"81f8cba7-aabc-4e13-a454-4660645be79f": "sale_renting.rental_orders_all",
|
|
"01657be1-2ed9-48bd-aab5-158f7d15e752": "sale_renting.rental_orders_all",
|
|
"097038ff-456e-48b7-9908-2a07d5ff3440": "sale_renting.menu_rental_reporting"
|
|
}
|
|
}
|