926 lines
35 KiB
JSON
926 lines
35 KiB
JSON
{
|
|
"version": "18.4.14",
|
|
"sheets": [
|
|
{
|
|
"id": "sheet1",
|
|
"name": "Dashboard",
|
|
"colNumber": 7,
|
|
"rowNumber": 72,
|
|
"rows": {
|
|
"6": { "size": 40 },
|
|
"22": { "size": 40 },
|
|
"38": { "size": 40 },
|
|
"39": { "size": 40 },
|
|
"40": { "size": 31 },
|
|
"41": { "size": 31 },
|
|
"42": { "size": 31 },
|
|
"43": { "size": 31 },
|
|
"44": { "size": 31 },
|
|
"45": { "size": 31 },
|
|
"46": { "size": 31 },
|
|
"47": { "size": 31 },
|
|
"48": { "size": 31 },
|
|
"49": { "size": 31 },
|
|
"51": { "size": 40 },
|
|
"52": { "size": 40 },
|
|
"53": { "size": 31 },
|
|
"54": { "size": 31 },
|
|
"55": { "size": 31 },
|
|
"56": { "size": 31 },
|
|
"57": { "size": 31 },
|
|
"58": { "size": 31 },
|
|
"59": { "size": 31 },
|
|
"60": { "size": 31 },
|
|
"61": { "size": 31 },
|
|
"62": { "size": 31 }
|
|
},
|
|
"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": "[Weekly Production](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[[\"state\",\"=\",\"done\"]],\"context\":{\"group_by\":[\"date_finished:week\"],\"graph_measure\":\"product_uom_qty\",\"graph_mode\":\"line\",\"graph_groupbys\":[\"date_finished:week\"]},\"modelName\":\"mrp.production\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Weekly Production\"})",
|
|
"A23": "[Most Produced Products](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[\"|\",[\"state\",\"=\",\"draft\"],\"|\",[\"state\",\"=\",\"confirmed\"],\"|\",\"&\",\"&\",[\"is_planned\",\"=\",true],[\"date_start\",\"!=\",false],[\"date_finished\",\"!=\",false],\"|\",[\"state\",\"=\",\"progress\"],[\"state\",\"=\",\"done\"]],\"context\":{\"group_by\":[\"product_id\",\"state\"],\"graph_measure\":\"product_uom_qty\",\"graph_mode\":\"bar\",\"graph_groupbys\":[\"product_id\",\"state\"]},\"modelName\":\"mrp.production\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Most Produced Products\"})",
|
|
"A39": "[Top Products](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"|\",[\"state\",\"=\",\"draft\"],\"|\",[\"state\",\"=\",\"confirmed\"],\"|\",\"&\",\"&\",[\"is_planned\",\"=\",true],[\"date_start\",\"!=\",false],[\"date_finished\",\"!=\",false],\"|\",[\"state\",\"=\",\"progress\"],[\"state\",\"=\",\"done\"]],\"context\":{\"group_by\":[\"product_id\"],\"pivot_measures\":[\"__count\",\"product_uom_qty\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"product_id\"]},\"modelName\":\"mrp.production\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Products\"})",
|
|
"A40": "=_t(\"Product\")",
|
|
"A41": "=PIVOT.HEADER(1,\"#product_id\",1)",
|
|
"A42": "=PIVOT.HEADER(1,\"#product_id\",2)",
|
|
"A43": "=PIVOT.HEADER(1,\"#product_id\",3)",
|
|
"A44": "=PIVOT.HEADER(1,\"#product_id\",4)",
|
|
"A45": "=PIVOT.HEADER(1,\"#product_id\",5)",
|
|
"A46": "=PIVOT.HEADER(1,\"#product_id\",6)",
|
|
"A47": "=PIVOT.HEADER(1,\"#product_id\",7)",
|
|
"A48": "=PIVOT.HEADER(1,\"#product_id\",8)",
|
|
"A49": "=PIVOT.HEADER(1,\"#product_id\",9)",
|
|
"A50": "=PIVOT.HEADER(1,\"#product_id\",10)",
|
|
"A52": "[Top Responsibles](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"&\",\"|\",[\"state\",\"=\",\"draft\"],\"|\",[\"state\",\"=\",\"confirmed\"],\"|\",\"&\",\"&\",[\"is_planned\",\"=\",true],[\"date_start\",\"!=\",false],[\"date_finished\",\"!=\",false],\"|\",[\"state\",\"=\",\"progress\"],[\"state\",\"=\",\"done\"],[\"user_id\",\"!=\",false]],\"context\":{\"group_by\":[\"user_id\"],\"pivot_measures\":[\"__count\",\"product_uom_qty\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"picking_type_id\"]},\"modelName\":\"mrp.production\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"form\"],[false,\"search\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Responsibles\"})",
|
|
"A53": "=_t(\"Responsible\")",
|
|
"A54": "=PIVOT.HEADER(3,\"#user_id\",1)",
|
|
"A55": "=PIVOT.HEADER(3,\"#user_id\",2)",
|
|
"A56": "=PIVOT.HEADER(3,\"#user_id\",3)",
|
|
"A57": "=PIVOT.HEADER(3,\"#user_id\",4)",
|
|
"A58": "=PIVOT.HEADER(3,\"#user_id\",5)",
|
|
"A59": "=PIVOT.HEADER(3,\"#user_id\",6)",
|
|
"A60": "=PIVOT.HEADER(3,\"#user_id\",7)",
|
|
"A61": "=PIVOT.HEADER(3,\"#user_id\",8)",
|
|
"A62": "=PIVOT.HEADER(3,\"#user_id\",9)",
|
|
"A63": "=PIVOT.HEADER(3,\"#user_id\",10)",
|
|
"B40": "=_t(\"Orders\")",
|
|
"B41": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",1)",
|
|
"B42": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",2)",
|
|
"B43": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",3)",
|
|
"B44": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",4)",
|
|
"B45": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",5)",
|
|
"B46": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",6)",
|
|
"B47": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",7)",
|
|
"B48": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",8)",
|
|
"B49": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",9)",
|
|
"B50": "=PIVOT.VALUE(1,\"__count\",\"#product_id\",10)",
|
|
"B53": "=_t(\"Orders\")",
|
|
"B54": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",1)",
|
|
"B55": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",2)",
|
|
"B56": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",3)",
|
|
"B57": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",4)",
|
|
"B58": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",5)",
|
|
"B59": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",6)",
|
|
"B60": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",7)",
|
|
"B61": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",8)",
|
|
"B62": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",9)",
|
|
"B63": "=PIVOT.VALUE(3,\"__count\",\"#user_id\",10)",
|
|
"C40": "=_t(\"Qty Produced\")",
|
|
"C41": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",1)",
|
|
"C42": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",2)",
|
|
"C43": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",3)",
|
|
"C44": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",4)",
|
|
"C45": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",5)",
|
|
"C46": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",6)",
|
|
"C47": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",7)",
|
|
"C48": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",8)",
|
|
"C49": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",9)",
|
|
"C50": "=PIVOT.VALUE(1,\"product_uom_qty\",\"#product_id\",10)",
|
|
"C53": "=_t(\"Qty Produced\")",
|
|
"C54": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",1)",
|
|
"C55": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",2)",
|
|
"C56": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",3)",
|
|
"C57": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",4)",
|
|
"C58": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",5)",
|
|
"C59": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",6)",
|
|
"C60": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",7)",
|
|
"C61": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",8)",
|
|
"C62": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",9)",
|
|
"C63": "=PIVOT.VALUE(3,\"product_uom_qty\",\"#user_id\",10)",
|
|
"E39": "[Top Operation Types](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"|\",[\"state\",\"=\",\"draft\"],\"|\",[\"state\",\"=\",\"confirmed\"],\"|\",\"&\",\"&\",[\"is_planned\",\"=\",true],[\"date_start\",\"!=\",false],[\"date_finished\",\"!=\",false],\"|\",[\"state\",\"=\",\"progress\"],[\"state\",\"=\",\"done\"]],\"context\":{\"group_by\":[\"picking_type_id\"],\"pivot_measures\":[\"__count\",\"product_uom_qty\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"picking_type_id\"]},\"modelName\":\"mrp.production\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Top Operation Types\"})",
|
|
"E40": "=_t(\"Operation Type\")",
|
|
"E41": "=PIVOT.HEADER(2,\"#picking_type_id\",1)",
|
|
"E42": "=PIVOT.HEADER(2,\"#picking_type_id\",2)",
|
|
"E43": "=PIVOT.HEADER(2,\"#picking_type_id\",3)",
|
|
"E44": "=PIVOT.HEADER(2,\"#picking_type_id\",4)",
|
|
"E45": "=PIVOT.HEADER(2,\"#picking_type_id\",5)",
|
|
"E46": "=PIVOT.HEADER(2,\"#picking_type_id\",6)",
|
|
"E47": "=PIVOT.HEADER(2,\"#picking_type_id\",7)",
|
|
"E48": "=PIVOT.HEADER(2,\"#picking_type_id\",8)",
|
|
"E49": "=PIVOT.HEADER(2,\"#picking_type_id\",9)",
|
|
"E50": "=PIVOT.HEADER(2,\"#picking_type_id\",10)",
|
|
"F40": "=_t(\"Orders\")",
|
|
"F41": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",1)",
|
|
"F42": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",2)",
|
|
"F43": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",3)",
|
|
"F44": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",4)",
|
|
"F45": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",5)",
|
|
"F46": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",6)",
|
|
"F47": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",7)",
|
|
"F48": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",8)",
|
|
"F49": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",9)",
|
|
"F50": "=PIVOT.VALUE(2,\"__count\",\"#picking_type_id\",10)",
|
|
"G40": "=_t(\"Qty Produced\")",
|
|
"G41": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",1)",
|
|
"G42": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",2)",
|
|
"G43": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",3)",
|
|
"G44": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",4)",
|
|
"G45": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",5)",
|
|
"G46": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",6)",
|
|
"G47": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",7)",
|
|
"G48": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",8)",
|
|
"G49": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",9)",
|
|
"G50": "=PIVOT.VALUE(2,\"product_uom_qty\",\"#picking_type_id\",10)"
|
|
},
|
|
"styles": {
|
|
"A7": 1,
|
|
"A23": 1,
|
|
"A39": 1,
|
|
"A52": 1,
|
|
"E39": 1,
|
|
"A40": 2,
|
|
"A53": 2,
|
|
"D40:E40": 2,
|
|
"D53:G53": 2,
|
|
"A41:G50": 3,
|
|
"A54:G63": 3,
|
|
"B23:C23": 4,
|
|
"B39:C39": 4,
|
|
"B52:C52": 4,
|
|
"B7:G7": 4,
|
|
"F39:G39": 4,
|
|
"B40:C40": 5,
|
|
"B53:C53": 5,
|
|
"F40:G40": 5
|
|
},
|
|
"formats": {},
|
|
"borders": {
|
|
"A39:C39": 1,
|
|
"A52:C52": 1,
|
|
"A7:G7": 1,
|
|
"A23:G23": 1,
|
|
"E39:G39": 1,
|
|
"A40:C40": 2,
|
|
"A53:C53": 2,
|
|
"A8:G8": 2,
|
|
"A24:G24": 2,
|
|
"E40:G40": 2,
|
|
"A41:C41": 3,
|
|
"A54:C54": 3,
|
|
"E41:G41": 3,
|
|
"A42:C49": 4,
|
|
"A55:C62": 4,
|
|
"E42:G49": 4,
|
|
"A50:C50": 5,
|
|
"A63:C63": 5,
|
|
"E50:G50": 5
|
|
},
|
|
"conditionalFormats": [
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15531509, "rangeValues": "C41:C50" },
|
|
"id": "e0bf60e7-d8d6-4cf2-a625-8ffab7fbc487",
|
|
"ranges": ["A41:A50"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "G41:G50" },
|
|
"id": "f8a19bb1-7c0a-48d6-a511-1648df213a2c",
|
|
"ranges": ["E41:E50"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15726335, "rangeValues": "C54:C63" },
|
|
"id": "17e8918f-61eb-49df-8f1a-5d13f0261745",
|
|
"ranges": ["A54:A63"]
|
|
}
|
|
],
|
|
"dataValidationRules": [],
|
|
"figures": [
|
|
{
|
|
"id": "2828f15d-9fe0-43c8-8ad7-a2b7fe7ff3c5",
|
|
"width": 1000,
|
|
"height": 343,
|
|
"tag": "chart",
|
|
"data": {
|
|
"title": { "text": "" },
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "none",
|
|
"metaData": {
|
|
"groupBy": ["date_finished:week"],
|
|
"measure": "product_uom_qty",
|
|
"order": null,
|
|
"resModel": "mrp.production",
|
|
"mode": "line",
|
|
"cumulatedStart": false
|
|
},
|
|
"searchParams": {
|
|
"comparison": null,
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
["state", "=", "done"]
|
|
],
|
|
"groupBy": ["date_finished:week"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_line",
|
|
"dataSets": [],
|
|
"verticalAxisPosition": "left",
|
|
"stacked": false,
|
|
"cumulatedStart": false,
|
|
"fillArea": true,
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"offset": { "x": 0, "y": 178 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "6591ce4b-64ce-4630-943d-18570a18a4f2",
|
|
"width": 1000,
|
|
"height": 343,
|
|
"tag": "chart",
|
|
"data": {
|
|
"title": { "text": "" },
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "right",
|
|
"metaData": {
|
|
"groupBy": ["product_id", "state"],
|
|
"measure": "product_uom_qty",
|
|
"order": "DESC",
|
|
"resModel": "mrp.production",
|
|
"mode": "bar",
|
|
"cumulatedStart": false
|
|
},
|
|
"searchParams": {
|
|
"comparison": null,
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"]
|
|
],
|
|
"groupBy": ["product_id", "state"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_bar",
|
|
"dataSets": [],
|
|
"verticalAxisPosition": "left",
|
|
"stacked": true,
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"offset": { "x": 0, "y": 563 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "992b1b7d-78e0-4b41-b144-3995c16b73be",
|
|
"width": 200,
|
|
"height": 105,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Quantity Produced", "bold": true, "color": "#434343" },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!E3",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D3",
|
|
"humanize": false
|
|
},
|
|
"offset": { "x": 210, "y": 9 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "379d22d2-4cbf-48fb-8fad-e44b9ce00dea",
|
|
"width": 200,
|
|
"height": 105,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Manufacturing Orders", "bold": true, "color": "#434343" },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!E2",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D2",
|
|
"humanize": false
|
|
},
|
|
"offset": { "x": 0, "y": 9 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "683afc26-bbb2-4647-8e80-e3699839ffd5",
|
|
"width": 200,
|
|
"height": 105,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "OEE", "bold": true, "color": "#434343" },
|
|
"type": "scorecard",
|
|
"background": "#ECFDF5",
|
|
"baseline": "Data!E7",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D7",
|
|
"humanize": false
|
|
},
|
|
"offset": { "x": 420, "y": 9 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "9f95d0f4-ad80-45de-970a-9897eab4d56f",
|
|
"width": 200,
|
|
"height": 105,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "percentage",
|
|
"title": { "text": "Average Cost / Unit", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#FFF7ED",
|
|
"baseline": "Data!E8",
|
|
"baselineDescr": { "text": "since last period" },
|
|
"keyValue": "Data!D8",
|
|
"humanize": false
|
|
},
|
|
"offset": { "x": 630, "y": 9 },
|
|
"col": 0,
|
|
"row": 0
|
|
}
|
|
],
|
|
"tables": [
|
|
{
|
|
"range": "A40:C50",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "A53:C63",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "A40:G50",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "A53:D63",
|
|
"type": "static",
|
|
"config": {
|
|
"hasFilters": false,
|
|
"totalRow": false,
|
|
"firstColumn": false,
|
|
"lastColumn": false,
|
|
"numberOfHeaders": 1,
|
|
"bandedRows": true,
|
|
"bandedColumns": false,
|
|
"automaticAutofill": true,
|
|
"styleId": "None"
|
|
}
|
|
},
|
|
{
|
|
"range": "E40:G50",
|
|
"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": "e85b0e6c-d32d-4ab1-a3c7-e5c1ae0e5350",
|
|
"name": "Data",
|
|
"colNumber": 26,
|
|
"rowNumber": 101,
|
|
"rows": {},
|
|
"cols": {},
|
|
"merges": [],
|
|
"cells": {
|
|
"A1": "=_t(\"KPI\")",
|
|
"A2": "=_t(\"Manufacturing orders\")",
|
|
"A3": "=_t(\"Total quantity\")",
|
|
"A4": "=_t(\"Total time (min)\")",
|
|
"A5": "=_t(\"Available time (min)\")",
|
|
"A6": "=_t(\"Productive time (min)\")",
|
|
"A7": "=_t(\"OEE\")",
|
|
"A8": "=_t(\"Average cost / unit\")",
|
|
"B1": "=_t(\"Current\")",
|
|
"B2": "=PIVOT.VALUE(5,\"__count\")",
|
|
"B3": "=PIVOT.VALUE(5,\"product_uom_qty\")",
|
|
"B4": "=PIVOT.VALUE(7,\"duration\")",
|
|
"B5": "=PIVOT.VALUE(7,\"duration\",\"loss_type\",\"availability\")",
|
|
"B6": "=PIVOT.VALUE(7,\"duration\",\"loss_type\",\"productive\")",
|
|
"B7": "=IFERROR(B6/B4)",
|
|
"B8": "=PIVOT.VALUE(9,\"unit_cost\")",
|
|
"C1": "=_t(\"Previous\")",
|
|
"C2": "=PIVOT.VALUE(6,\"__count\")",
|
|
"C3": "=PIVOT.VALUE(6,\"product_uom_qty\")",
|
|
"C4": "=PIVOT.VALUE(8,\"duration\")",
|
|
"C5": "=PIVOT.VALUE(8,\"duration\",\"loss_type\",\"availability\")",
|
|
"C6": "=PIVOT.VALUE(8,\"duration\",\"loss_type\",\"productive\")",
|
|
"C7": "=IFERROR(C6/C4)",
|
|
"C8": "=PIVOT.VALUE(10,\"unit_cost\")",
|
|
"D1": "=_t(\"Current\")",
|
|
"D2": "=FORMAT.LARGE.NUMBER(B2)",
|
|
"D3": "=FORMAT.LARGE.NUMBER(B3)",
|
|
"D7": "=B7",
|
|
"D8": "=FORMAT.LARGE.NUMBER(B8)",
|
|
"E1": "=_t(\"Previous\")",
|
|
"E2": "=FORMAT.LARGE.NUMBER(C2)",
|
|
"E3": "=FORMAT.LARGE.NUMBER(C3)",
|
|
"E7": "=C7",
|
|
"E8": "=FORMAT.LARGE.NUMBER(C8)"
|
|
},
|
|
"styles": { "A1:Z1": 6, "D2:E3": 7, "D7:E8": 7 },
|
|
"formats": { "D7:E7": 1 },
|
|
"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": { "bold": true, "fontSize": 16 },
|
|
"5": {
|
|
"textColor": "#434343",
|
|
"fontSize": 11,
|
|
"bold": true,
|
|
"align": "center"
|
|
},
|
|
"6": { "bold": true },
|
|
"7": { "fillColor": "#f2f2f2" }
|
|
},
|
|
"formats": { "1": "0%" },
|
|
"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": "348d78a5-d877-47ee-95a9-4bb00f897343",
|
|
"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": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"]
|
|
],
|
|
"id": "1",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "product_uom_qty", "fieldName": "product_uom_qty" }
|
|
],
|
|
"model": "mrp.production",
|
|
"name": "Manufacturing Orders by Product",
|
|
"sortedColumn": {
|
|
"measure": "product_uom_qty",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "1",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "product_id" }
|
|
]
|
|
},
|
|
"2": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"]
|
|
],
|
|
"id": "2",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "product_uom_qty", "fieldName": "product_uom_qty" }
|
|
],
|
|
"model": "mrp.production",
|
|
"name": "Manufacturing Orders by Operation Type",
|
|
"sortedColumn": {
|
|
"measure": "product_uom_qty",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "2",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "picking_type_id" }
|
|
]
|
|
},
|
|
"3": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["user_id"],
|
|
"pivot_measures": ["__count", "product_uom_qty"],
|
|
"pivot_column_groupby": [],
|
|
"pivot_row_groupby": ["user_id"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"],
|
|
["user_id", "!=", false]
|
|
],
|
|
"id": "3",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "product_uom_qty", "fieldName": "product_uom_qty" }
|
|
],
|
|
"model": "mrp.production",
|
|
"name": "Manufacturing Orders by Responsible",
|
|
"sortedColumn": {
|
|
"measure": "product_uom_qty",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "3",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "user_id" }
|
|
]
|
|
},
|
|
"5": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"]
|
|
],
|
|
"id": "5",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "product_uom_qty", "fieldName": "product_uom_qty" }
|
|
],
|
|
"model": "mrp.production",
|
|
"name": "stats mo - current",
|
|
"sortedColumn": null,
|
|
"formulaId": "5",
|
|
"columns": [],
|
|
"rows": []
|
|
},
|
|
"6": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": -1 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "default_company_id": 1 },
|
|
"domain": [
|
|
"|",
|
|
["state", "=", "confirmed"],
|
|
"|",
|
|
"&",
|
|
"&",
|
|
["is_planned", "=", true],
|
|
["date_start", "!=", false],
|
|
["date_finished", "!=", false],
|
|
"|",
|
|
["state", "=", "draft"],
|
|
"|",
|
|
["state", "=", "progress"],
|
|
["state", "=", "done"]
|
|
],
|
|
"id": "6",
|
|
"measures": [
|
|
{ "id": "__count", "fieldName": "__count" },
|
|
{ "id": "product_uom_qty", "fieldName": "product_uom_qty" }
|
|
],
|
|
"model": "mrp.production",
|
|
"name": "stats mo - previous",
|
|
"sortedColumn": null,
|
|
"formulaId": "6",
|
|
"columns": [],
|
|
"rows": []
|
|
},
|
|
"7": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_end", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "production_id.product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "production_id.picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "create": false, "edit": false },
|
|
"domain": [],
|
|
"id": "7",
|
|
"measures": [
|
|
{ "id": "duration", "fieldName": "duration" }
|
|
],
|
|
"model": "mrp.workcenter.productivity",
|
|
"name": "oee - current",
|
|
"sortedColumn": null,
|
|
"formulaId": "7",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "loss_type" }
|
|
]
|
|
},
|
|
"8": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_end", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "production_id.product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "production_id.picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "user_id", "type": "many2one" }
|
|
},
|
|
"context": { "create": false, "edit": false },
|
|
"domain": [],
|
|
"id": "8",
|
|
"measures": [
|
|
{ "id": "duration", "fieldName": "duration" }
|
|
],
|
|
"model": "mrp.workcenter.productivity",
|
|
"name": "oee - previous",
|
|
"sortedColumn": null,
|
|
"formulaId": "8",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "loss_type" }
|
|
]
|
|
},
|
|
"9": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": 0 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "production_id.picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "production_id.user_id", "type": "many2one" }
|
|
},
|
|
"context": {},
|
|
"domain": [],
|
|
"id": "9",
|
|
"measures": [
|
|
{ "id": "unit_cost", "fieldName": "unit_cost" }
|
|
],
|
|
"model": "mrp.report",
|
|
"name": "avg cost - current",
|
|
"sortedColumn": null,
|
|
"formulaId": "9",
|
|
"columns": [],
|
|
"rows": []
|
|
},
|
|
"10": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592": { "chain": "date_finished", "type": "datetime", "offset": -1 },
|
|
"ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb": { "chain": "product_id", "type": "many2one" },
|
|
"dfe37941-d119-494e-af10-62c1ed04c413": { "chain": "production_id.picking_type_id", "type": "many2one" },
|
|
"be98718e-525b-4252-92c5-1c95bd470fc9": { "chain": "production_id.user_id", "type": "many2one" }
|
|
},
|
|
"context": {},
|
|
"domain": [],
|
|
"id": "10",
|
|
"measures": [
|
|
{ "id": "unit_cost", "fieldName": "unit_cost" }
|
|
],
|
|
"model": "mrp.report",
|
|
"name": "avg cost - previous",
|
|
"sortedColumn": null,
|
|
"formulaId": "10",
|
|
"columns": [],
|
|
"rows": []
|
|
}
|
|
},
|
|
"pivotNextId": 11,
|
|
"customTableStyles": {},
|
|
"globalFilters": [
|
|
{
|
|
"id": "a5d0b2fb-b866-4fa0-8d25-bcf1c41cf592",
|
|
"type": "date",
|
|
"label": "Period",
|
|
"defaultValue": "last_90_days"
|
|
},
|
|
{
|
|
"id": "ad6b4dd2-f0c1-4ef7-9591-f9af7c790bdb",
|
|
"type": "relation",
|
|
"label": "Product",
|
|
"modelName": "product.product",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "dfe37941-d119-494e-af10-62c1ed04c413",
|
|
"type": "relation",
|
|
"label": "Operation Type",
|
|
"modelName": "stock.picking.type",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "be98718e-525b-4252-92c5-1c95bd470fc9",
|
|
"type": "relation",
|
|
"label": "Responsible",
|
|
"modelName": "res.users",
|
|
"defaultValueDisplayNames": []
|
|
}
|
|
],
|
|
"lists": {},
|
|
"listNextId": 1,
|
|
"chartOdooMenusReferences": {
|
|
"2828f15d-9fe0-43c8-8ad7-a2b7fe7ff3c5": "mrp.menu_mrp_root",
|
|
"6591ce4b-64ce-4630-943d-18570a18a4f2": "mrp.menu_mrp_root",
|
|
"3d49564f-cc66-495b-b056-61dd29b34ea6": "mrp.menu_mrp_root",
|
|
"379d22d2-4cbf-48fb-8fad-e44b9ce00dea": "mrp_account_enterprise.mrp_dashboard_menuitem",
|
|
"992b1b7d-78e0-4b41-b144-3995c16b73be": "mrp_account_enterprise.mrp_dashboard_menuitem",
|
|
"683afc26-bbb2-4647-8e80-e3699839ffd5": "mrp.menu_mrp_workcenter_productivity_report",
|
|
"9f95d0f4-ad80-45de-970a-9897eab4d56f": "mrp.menu_mrp_workcenter_productivity_report"
|
|
}
|
|
}
|