1112 lines
37 KiB
Plaintext
1112 lines
37 KiB
Plaintext
{
|
|
"version": "18.5.10",
|
|
"sheets": [
|
|
{
|
|
"id": "a7cd7db1-9407-4895-82f2-7657102c7688",
|
|
"name": "Dashboard",
|
|
"colNumber": 7,
|
|
"rowNumber": 69,
|
|
"rows": {
|
|
"6": { "size": 40 },
|
|
"22": { "size": 40 },
|
|
"23": { "size": 40 },
|
|
"24": { "size": 27 },
|
|
"25": { "size": 27 },
|
|
"26": { "size": 27 },
|
|
"27": { "size": 27 },
|
|
"28": { "size": 27 },
|
|
"29": { "size": 27 },
|
|
"30": { "size": 27 },
|
|
"31": { "size": 27 },
|
|
"32": { "size": 27 },
|
|
"33": { "size": 27 },
|
|
"35": { "size": 40 },
|
|
"36": { "size": 40 },
|
|
"37": { "size": 27 },
|
|
"38": { "size": 27 },
|
|
"39": { "size": 27 },
|
|
"40": { "size": 27 },
|
|
"41": { "size": 27 },
|
|
"42": { "size": 27 },
|
|
"43": { "size": 27 },
|
|
"44": { "size": 27 },
|
|
"45": { "size": 27 },
|
|
"46": { "size": 27 },
|
|
"48": { "size": 40 },
|
|
"49": { "size": 40 },
|
|
"50": { "size": 27 },
|
|
"51": { "size": 27 },
|
|
"52": { "size": 27 },
|
|
"53": { "size": 27 },
|
|
"54": { "size": 27 },
|
|
"55": { "size": 27 },
|
|
"56": { "size": 27 },
|
|
"57": { "size": 27 },
|
|
"58": { "size": 27 },
|
|
"59": { "size": 27 }
|
|
},
|
|
"cols": {
|
|
"0": { "size": 225 },
|
|
"1": { "size": 150 },
|
|
"2": { "size": 100 },
|
|
"3": { "size": 50 },
|
|
"4": { "size": 225 },
|
|
"5": { "size": 150 },
|
|
"6": { "size": 100 }
|
|
},
|
|
"merges": [
|
|
"D24:E24",
|
|
"D25:E25",
|
|
"D26:E26",
|
|
"D27:E27",
|
|
"D28:E28",
|
|
"D29:E29",
|
|
"D30:E30",
|
|
"D31:E31",
|
|
"D32:E32",
|
|
"D33:E33",
|
|
"D34:E34"
|
|
],
|
|
"cells": {
|
|
"A7": "[Invoiced by Month](odoo://view/{\"viewType\":\"graph\",\"action\":{\"domain\":[\"&\",[\"state\",\"not in\",[\"draft\",\"cancel\"]],\"|\",[\"move_type\",\"=\",\"out_invoice\"],[\"move_type\",\"=\",\"out_refund\"]],\"context\":{\"group_by\":[\"invoice_date\"],\"graph_measure\":\"price_subtotal\",\"graph_mode\":\"line\",\"graph_groupbys\":[\"invoice_date:month\"]},\"modelName\":\"account.invoice.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Invoices Analysis\",\"positional\":true})",
|
|
"A23": "[Top Invoices](odoo://view/{\"viewType\":\"list\",\"action\":{\"domain\":[\"&\",[\"state\",\"not in\",[\"draft\",\"cancel\"]],[\"move_type\",\"=\",\"out_invoice\"]],\"context\":{\"group_by\":[]},\"modelName\":\"account.move\",\"views\":[[false,\"list\"],[false,\"kanban\"],[false,\"form\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Invoices\"})",
|
|
"A24": "=ODOO.LIST.HEADER(1, \"name\", _t(\"Reference\"))",
|
|
"A25": "=ODOO.LIST(1,1,\"name\")",
|
|
"A26": "=ODOO.LIST(1,2,\"name\")",
|
|
"A27": "=ODOO.LIST(1,3,\"name\")",
|
|
"A28": "=ODOO.LIST(1,4,\"name\")",
|
|
"A29": "=ODOO.LIST(1,5,\"name\")",
|
|
"A30": "=ODOO.LIST(1,6,\"name\")",
|
|
"A31": "=ODOO.LIST(1,7,\"name\")",
|
|
"A32": "=ODOO.LIST(1,8,\"name\")",
|
|
"A33": "=ODOO.LIST(1,9,\"name\")",
|
|
"A34": "=ODOO.LIST(1,10,\"name\")",
|
|
"A37": "=PIVOT(2, 10, FALSE, FALSE)",
|
|
"A49": "[Top Products](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"&\",[\"state\",\"not in\",[\"draft\",\"cancel\"]],\"&\",[\"product_id\",\"!=\",false],[\"move_type\",\"in\",[\"out_invoice\",\"out_refund\"]]],\"context\":{\"group_by\":[\"product_id\"],\"pivot_measures\":[\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"product_id\"]},\"modelName\":\"account.invoice.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"list\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Invoices Analysis\"})",
|
|
"A50": "=PIVOT(3, 10, FALSE, FALSE)",
|
|
"B24": "=ODOO.LIST.HEADER(1, \"user_id\", _t(\"Salesperson\"))",
|
|
"B25": "=ODOO.LIST(1,1,\"user_id\")",
|
|
"B26": "=ODOO.LIST(1,2,\"user_id\")",
|
|
"B27": "=ODOO.LIST(1,3,\"user_id\")",
|
|
"B28": "=ODOO.LIST(1,4,\"user_id\")",
|
|
"B29": "=ODOO.LIST(1,5,\"user_id\")",
|
|
"B30": "=ODOO.LIST(1,6,\"user_id\")",
|
|
"B31": "=ODOO.LIST(1,7,\"user_id\")",
|
|
"B32": "=ODOO.LIST(1,8,\"user_id\")",
|
|
"B33": "=ODOO.LIST(1,9,\"user_id\")",
|
|
"B34": "=ODOO.LIST(1,10,\"user_id\")",
|
|
"C24": "=ODOO.LIST.HEADER(1, \"payment_state\", _t(\"Status\"))",
|
|
"C25": "=ODOO.LIST(1,1,\"payment_state\")",
|
|
"C26": "=ODOO.LIST(1,2,\"payment_state\")",
|
|
"C27": "=ODOO.LIST(1,3,\"payment_state\")",
|
|
"C28": "=ODOO.LIST(1,4,\"payment_state\")",
|
|
"C29": "=ODOO.LIST(1,5,\"payment_state\")",
|
|
"C30": "=ODOO.LIST(1,6,\"payment_state\")",
|
|
"C31": "=ODOO.LIST(1,7,\"payment_state\")",
|
|
"C32": "=ODOO.LIST(1,8,\"payment_state\")",
|
|
"C33": "=ODOO.LIST(1,9,\"payment_state\")",
|
|
"C34": "=ODOO.LIST(1,10,\"payment_state\")",
|
|
"D24": "=ODOO.LIST.HEADER(1, \"partner_id\", _t(\"Customer\"))",
|
|
"D25": "=ODOO.LIST(1,1,\"partner_id\")",
|
|
"D26": "=ODOO.LIST(1,2,\"partner_id\")",
|
|
"D27": "=ODOO.LIST(1,3,\"partner_id\")",
|
|
"D28": "=ODOO.LIST(1,4,\"partner_id\")",
|
|
"D29": "=ODOO.LIST(1,5,\"partner_id\")",
|
|
"D30": "=ODOO.LIST(1,6,\"partner_id\")",
|
|
"D31": "=ODOO.LIST(1,7,\"partner_id\")",
|
|
"D32": "=ODOO.LIST(1,8,\"partner_id\")",
|
|
"D33": "=ODOO.LIST(1,9,\"partner_id\")",
|
|
"D34": "=ODOO.LIST(1,10,\"partner_id\")",
|
|
"E37": "=PIVOT(1, 10, FALSE, FALSE)",
|
|
"E49": "[Top Salespeople](odoo://view/{\"viewType\":\"pivot\",\"action\":{\"domain\":[\"&\",[\"state\",\"not in\",[\"draft\",\"cancel\"]],\"&\",[\"invoice_user_id\",\"!=\",false],[\"move_type\",\"in\",[\"out_invoice\",\"out_refund\"]]],\"context\":{\"group_by\":[\"invoice_user_id\"],\"pivot_measures\":[\"price_subtotal\"],\"pivot_column_groupby\":[],\"pivot_row_groupby\":[\"invoice_user_id\"]},\"modelName\":\"account.invoice.report\",\"views\":[[false,\"graph\"],[false,\"pivot\"],[false,\"list\"],[false,\"search\"]]},\"threshold\":0,\"name\":\"Invoices Analysis\"})",
|
|
"E50": "=PIVOT(4, 10, FALSE, FALSE)",
|
|
"F24": "=ODOO.LIST.HEADER(1, \"invoice_date\", _t(\"Date\"))",
|
|
"F25": "=ODOO.LIST(1,1,\"invoice_date\")",
|
|
"F26": "=ODOO.LIST(1,2,\"invoice_date\")",
|
|
"F27": "=ODOO.LIST(1,3,\"invoice_date\")",
|
|
"F28": "=ODOO.LIST(1,4,\"invoice_date\")",
|
|
"F29": "=ODOO.LIST(1,5,\"invoice_date\")",
|
|
"F30": "=ODOO.LIST(1,6,\"invoice_date\")",
|
|
"F31": "=ODOO.LIST(1,7,\"invoice_date\")",
|
|
"F32": "=ODOO.LIST(1,8,\"invoice_date\")",
|
|
"F33": "=ODOO.LIST(1,9,\"invoice_date\")",
|
|
"F34": "=ODOO.LIST(1,10,\"invoice_date\")",
|
|
"G24": "=ODOO.LIST.HEADER(1, \"amount_untaxed_signed\", _t(\"Amount\"))",
|
|
"G25": "=ODOO.LIST(1,1,\"amount_untaxed_signed\")",
|
|
"G26": "=ODOO.LIST(1,2,\"amount_untaxed_signed\")",
|
|
"G27": "=ODOO.LIST(1,3,\"amount_untaxed_signed\")",
|
|
"G28": "=ODOO.LIST(1,4,\"amount_untaxed_signed\")",
|
|
"G29": "=ODOO.LIST(1,5,\"amount_untaxed_signed\")",
|
|
"G30": "=ODOO.LIST(1,6,\"amount_untaxed_signed\")",
|
|
"G31": "=ODOO.LIST(1,7,\"amount_untaxed_signed\")",
|
|
"G32": "=ODOO.LIST(1,8,\"amount_untaxed_signed\")",
|
|
"G33": "=ODOO.LIST(1,9,\"amount_untaxed_signed\")",
|
|
"G34": "=ODOO.LIST(1,10,\"amount_untaxed_signed\")"
|
|
},
|
|
"styles": {
|
|
"A7": 1,
|
|
"A23": 1,
|
|
"A36": 1,
|
|
"A49": 1,
|
|
"E36": 1,
|
|
"E49": 1,
|
|
"A37": 2,
|
|
"A50": 2,
|
|
"A24:E24": 2,
|
|
"E37": 2,
|
|
"E50": 2,
|
|
"A25:A34": 3,
|
|
"A38:C46": 4,
|
|
"A51:C60": 4,
|
|
"B25:G34": 4,
|
|
"E38:G46": 4,
|
|
"E51:G60": 4,
|
|
"B37:C37": 5,
|
|
"B50:C50": 5,
|
|
"F24:G24": 5,
|
|
"F37:G37": 5,
|
|
"F50:G50": 5
|
|
},
|
|
"formats": {},
|
|
"borders": {
|
|
"A36:C36": 1,
|
|
"A49:C49": 1,
|
|
"A7:G7": 1,
|
|
"A23:G23": 1,
|
|
"E36:G36": 1,
|
|
"E49:G49": 1,
|
|
"A37:C37": 2,
|
|
"A50:C50": 2,
|
|
"A8:G8": 2,
|
|
"A24:G24": 2,
|
|
"E37:G37": 2,
|
|
"E50:G50": 2,
|
|
"A38:C38": 3,
|
|
"A51:C51": 3,
|
|
"A25:G25": 3,
|
|
"E38:G38": 3,
|
|
"E51:G51": 3,
|
|
"A39:C47": 4,
|
|
"A52:C60": 4,
|
|
"A26:G34": 4,
|
|
"E39:G47": 4,
|
|
"E52:G60": 4,
|
|
"A48:C48": 5,
|
|
"A61:C61": 5,
|
|
"A35:G35": 5,
|
|
"E48:G48": 5,
|
|
"E61:G61": 5
|
|
},
|
|
"conditionalFormats": [
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "G25:G34" },
|
|
"id": "3913485d-dafc-481c-81cb-5de1007c2beb",
|
|
"ranges": ["A25:A34"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16775149, "rangeValues": "C38:C47" },
|
|
"id": "4b1963a5-6d8a-48e7-baed-15a352bd88f2",
|
|
"ranges": ["A38:A47"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15726335, "rangeValues": "G38:G47" },
|
|
"id": "8a8b5811-25a7-4334-8a9a-64549dfcd3b7",
|
|
"ranges": ["E38:E47"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 15531509, "rangeValues": "C51:C60" },
|
|
"id": "c8b9e9e0-18e0-45ed-8aae-86f555e4fc4d",
|
|
"ranges": ["A51:A60"]
|
|
},
|
|
{
|
|
"rule": { "type": "DataBarRule", "color": 16708338, "rangeValues": "G51:G60" },
|
|
"id": "4ebb2a3e-fd9b-4627-a543-d3523f719908",
|
|
"ranges": ["E51:E60"]
|
|
}
|
|
],
|
|
"dataValidationRules": [],
|
|
"figures": [
|
|
{
|
|
"id": "5ea5dd7f-9f83-4482-a2bb-2ec72ab35912",
|
|
"width": 1000,
|
|
"height": 345,
|
|
"tag": "chart",
|
|
"data": {
|
|
"title": { "text": "" },
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "none",
|
|
"metaData": {
|
|
"groupBy": ["invoice_date:month"],
|
|
"measure": "price_subtotal",
|
|
"order": null,
|
|
"resModel": "account.invoice.report",
|
|
"mode": "line",
|
|
"cumulatedStart": false
|
|
},
|
|
"searchParams": {
|
|
"comparison": null,
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"|",
|
|
["move_type", "=", "out_invoice"],
|
|
["move_type", "=", "out_refund"]
|
|
],
|
|
"groupBy": ["invoice_date"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_line",
|
|
"dataSets": [
|
|
{}
|
|
],
|
|
"verticalAxisPosition": "left",
|
|
"stacked": false,
|
|
"cumulatedStart": false,
|
|
"fillArea": true,
|
|
"chartId": "5ea5dd7f-9f83-4482-a2bb-2ec72ab35912",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"offset": { "x": 0, "y": 178 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "1aeea7b2-900b-4067-b8ad-3e4772c54028",
|
|
"width": 200,
|
|
"height": 109,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "text",
|
|
"title": { "text": "Invoiced", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!C11",
|
|
"baselineDescr": { "text": "unpaid" },
|
|
"keyValue": "Data!C1",
|
|
"humanize": false,
|
|
"chartId": "1aeea7b2-900b-4067-b8ad-3e4772c54028"
|
|
},
|
|
"offset": { "x": 0, "y": 11 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "bdfb27d0-5902-4a2a-9b7e-514a6625578c",
|
|
"width": 200,
|
|
"height": 109,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "text",
|
|
"title": { "text": "Average Invoice", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#EFF6FF",
|
|
"baseline": "Data!C3",
|
|
"baselineDescr": { "text": "Invoices" },
|
|
"keyValue": "Data!C2",
|
|
"humanize": false,
|
|
"chartId": "bdfb27d0-5902-4a2a-9b7e-514a6625578c"
|
|
},
|
|
"offset": { "x": 210, "y": 11 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "b1673523-d139-47fb-b5ea-9e4f969aacb6",
|
|
"width": 200,
|
|
"height": 109,
|
|
"tag": "chart",
|
|
"data": {
|
|
"baselineColorDown": "#DC6965",
|
|
"baselineColorUp": "#00A04A",
|
|
"baselineMode": "difference",
|
|
"title": { "text": "DSO", "color": "#434343", "bold": true },
|
|
"type": "scorecard",
|
|
"background": "#FEF2F2",
|
|
"baselineDescr": { "text": "in current year" },
|
|
"keyValue": "Data!C10",
|
|
"humanize": false,
|
|
"chartId": "b1673523-d139-47fb-b5ea-9e4f969aacb6"
|
|
},
|
|
"offset": { "x": 419, "y": 11 },
|
|
"col": 0,
|
|
"row": 0
|
|
},
|
|
{
|
|
"id": "3dcbe095-d696",
|
|
"col": 0,
|
|
"row": 35,
|
|
"offset": { "x": 0, "y": 10 },
|
|
"width": 475,
|
|
"height": 361,
|
|
"tag": "carousel",
|
|
"data": {
|
|
"chartDefinitions": {
|
|
"df11f2ab-ef26": {
|
|
"title": {},
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "left",
|
|
"metaData": {
|
|
"groupBy": ["country_id"],
|
|
"measure": "price_subtotal",
|
|
"order": null,
|
|
"resModel": "account.invoice.report",
|
|
"mode": "bar"
|
|
},
|
|
"searchParams": {
|
|
"context": {
|
|
"group_by": ["invoice_date:month"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["country_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"groupBy": ["country_id"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_geo",
|
|
"actionXmlId": "account.action_account_invoice_report_all",
|
|
"dataSets": [
|
|
{}
|
|
],
|
|
"colorScale": "blues"
|
|
}
|
|
},
|
|
"items": [
|
|
{ "type": "chart", "chartId": "df11f2ab-ef26", "title": "Map" },
|
|
{ "type": "carouselDataView", "title": "Top 10" }
|
|
],
|
|
"fieldMatching": {
|
|
"df11f2ab-ef26": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date" },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"title": {
|
|
"text": "Top Countries",
|
|
"fontSize": 21,
|
|
"bold": true,
|
|
"color": "#01666B"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "2e7a07fe-04a0",
|
|
"col": 4,
|
|
"row": 35,
|
|
"offset": { "x": 0, "y": 10 },
|
|
"width": 475,
|
|
"height": 361,
|
|
"tag": "carousel",
|
|
"data": {
|
|
"chartDefinitions": {
|
|
"fb077836-59ce": {
|
|
"title": {},
|
|
"background": "#FFFFFF",
|
|
"legendPosition": "top",
|
|
"metaData": {
|
|
"groupBy": ["product_categ_id"],
|
|
"measure": "price_subtotal",
|
|
"order": null,
|
|
"resModel": "account.invoice.report",
|
|
"mode": "bar"
|
|
},
|
|
"searchParams": {
|
|
"context": {
|
|
"group_by": ["invoice_date:month"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["country_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"groupBy": ["product_categ_id"],
|
|
"orderBy": []
|
|
},
|
|
"type": "odoo_treemap",
|
|
"actionXmlId": "account.action_account_invoice_report_all",
|
|
"dataSets": [
|
|
{}
|
|
]
|
|
}
|
|
},
|
|
"items": [
|
|
{ "type": "chart", "chartId": "fb077836-59ce" },
|
|
{ "type": "carouselDataView", "title": "Top 10" }
|
|
],
|
|
"fieldMatching": {
|
|
"fb077836-59ce": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date" },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
}
|
|
},
|
|
"title": {
|
|
"text": "Top Categories",
|
|
"fontSize": 21,
|
|
"color": "#01666B",
|
|
"bold": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tables": [
|
|
{
|
|
"range": "A24:G34",
|
|
"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": "A50:C60",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"range": "E50:G60",
|
|
"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": "685cb5c3-4acb-45eb-8000-99e1af15b3ed",
|
|
"name": "Data",
|
|
"colNumber": 26,
|
|
"rowNumber": 107,
|
|
"rows": {
|
|
"3": { "size": 23 }
|
|
},
|
|
"cols": {
|
|
"0": { "size": 142 },
|
|
"1": { "size": 128 }
|
|
},
|
|
"merges": [],
|
|
"cells": {
|
|
"A1": "=_t(\"KPI - Income\")",
|
|
"A2": "=_t(\"KPI - Average Invoice\")",
|
|
"A3": "=_t(\"KPI - Invoice Count\")",
|
|
"A4": "=_t(\"Current year\")",
|
|
"A5": "=_t(\"Receivable\")",
|
|
"A6": "=_t(\"Income\")",
|
|
"A7": "=_t(\"COGS\")",
|
|
"A8": "=_t(\"Revenue\")",
|
|
"A9": "=_t(\"# days\")",
|
|
"A10": "=_t(\"KPI - DSO\")",
|
|
"A11": "=_t(\"KPI - Unpaid Invoices\")",
|
|
"B1": "=PIVOT.VALUE(5,\"price_subtotal\")",
|
|
"B2": "=IFERROR(PIVOT.VALUE(6,\"price_subtotal\")/B3)",
|
|
"B3": "=PIVOT.VALUE(6,\"move_id\")",
|
|
"B4": "=YEAR(TODAY())",
|
|
"B5": "=ODOO.BALANCE(ODOO.ACCOUNT.GROUP(\"asset_receivable\"),$B$4)",
|
|
"B6": "=-ODOO.BALANCE(ODOO.ACCOUNT.GROUP(\"income\"),$B$4)",
|
|
"B7": "=ODOO.BALANCE(ODOO.ACCOUNT.GROUP(\"expense_direct_cost\"),$B$4)",
|
|
"B8": "=B6-B7",
|
|
"B9": "365",
|
|
"B10": "=ROUND(IFERROR(B5/B8*B9))",
|
|
"B11": "=PIVOT.VALUE(7,\"price_subtotal\")",
|
|
"C1": "=FORMAT.LARGE.NUMBER(B1)",
|
|
"C2": "=FORMAT.LARGE.NUMBER(B2)",
|
|
"C3": "=FORMAT.LARGE.NUMBER(B3)",
|
|
"C10": "=CONCATENATE(FORMAT.LARGE.NUMBER(B10),_t(\" days\"))",
|
|
"C11": "=FORMAT.LARGE.NUMBER(B11)"
|
|
},
|
|
"styles": { "C1:C3": 6, "C10:C11": 6 },
|
|
"formats": { "B10": 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", "bold": true, "fontSize": 11 },
|
|
"3": { "textColor": "#01666B", "verticalAlign": "middle" },
|
|
"4": { "textColor": "#434343", "verticalAlign": "middle" },
|
|
"5": {
|
|
"textColor": "#434343",
|
|
"bold": true,
|
|
"fontSize": 11,
|
|
"align": "center"
|
|
},
|
|
"6": { "fillColor": "#f8f9fa" }
|
|
},
|
|
"formats": { "1": "#,##0.00" },
|
|
"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": {
|
|
"1": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["product_categ_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"id": "1",
|
|
"measures": [
|
|
{
|
|
"id": "price_subtotal",
|
|
"fieldName": "price_subtotal",
|
|
"userDefinedName": "Amount"
|
|
},
|
|
{
|
|
"id": "Ratio:sum",
|
|
"fieldName": "Ratio",
|
|
"aggregator": "sum",
|
|
"userDefinedName": "Ratio",
|
|
"computedBy": {
|
|
"sheetId": "a7cd7db1-9407-4895-82f2-7657102c7688",
|
|
"formula": "=iferror(if(price_subtotal, price_subtotal/PIVOT.VALUE(1, \"price_subtotal\"), \"\"), \"\")"
|
|
}
|
|
}
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "Top Categories",
|
|
"sortedColumn": {
|
|
"measure": "price_subtotal",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "1",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "product_categ_id" }
|
|
]
|
|
},
|
|
"2": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["country_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"id": "2",
|
|
"measures": [
|
|
{
|
|
"id": "price_subtotal",
|
|
"fieldName": "price_subtotal",
|
|
"userDefinedName": "Amount"
|
|
},
|
|
{
|
|
"id": "Ratio:sum",
|
|
"fieldName": "Ratio",
|
|
"aggregator": "sum",
|
|
"userDefinedName": "Ratio",
|
|
"computedBy": {
|
|
"sheetId": "a7cd7db1-9407-4895-82f2-7657102c7688",
|
|
"formula": "=iferror(if(price_subtotal, price_subtotal/PIVOT.VALUE(2, \"price_subtotal\"), \"\"), \"\")"
|
|
}
|
|
}
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "Country",
|
|
"sortedColumn": {
|
|
"measure": "price_subtotal",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "2",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "country_id" }
|
|
]
|
|
},
|
|
"3": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["product_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"id": "3",
|
|
"measures": [
|
|
{
|
|
"id": "price_subtotal",
|
|
"fieldName": "price_subtotal",
|
|
"userDefinedName": "Amount"
|
|
},
|
|
{
|
|
"id": "Ratio:sum",
|
|
"fieldName": "Ratio",
|
|
"aggregator": "sum",
|
|
"userDefinedName": "Ratio",
|
|
"computedBy": {
|
|
"sheetId": "a7cd7db1-9407-4895-82f2-7657102c7688",
|
|
"formula": "=iferror(if(price_subtotal, price_subtotal/PIVOT.VALUE(3, \"price_subtotal\"), \"\"))"
|
|
}
|
|
}
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "Product",
|
|
"sortedColumn": {
|
|
"measure": "price_subtotal",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "3",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "product_id" }
|
|
]
|
|
},
|
|
"4": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
["invoice_user_id", "!=", false],
|
|
[
|
|
"move_type",
|
|
"in",
|
|
["out_invoice", "out_refund"]
|
|
]
|
|
],
|
|
"id": "4",
|
|
"measures": [
|
|
{
|
|
"id": "price_subtotal",
|
|
"fieldName": "price_subtotal",
|
|
"userDefinedName": "Amount"
|
|
},
|
|
{
|
|
"id": "Ratio:sum",
|
|
"fieldName": "Ratio",
|
|
"aggregator": "sum",
|
|
"userDefinedName": "Ratio",
|
|
"computedBy": {
|
|
"sheetId": "a7cd7db1-9407-4895-82f2-7657102c7688",
|
|
"formula": "=iferror(if(price_subtotal, price_subtotal/PIVOT.VALUE(4, \"price_subtotal\"), \"\"), \"\")"
|
|
}
|
|
}
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "Salesperson",
|
|
"sortedColumn": {
|
|
"measure": "price_subtotal",
|
|
"order": "desc",
|
|
"domain": []
|
|
},
|
|
"formulaId": "4",
|
|
"columns": [],
|
|
"rows": [
|
|
{ "fieldName": "invoice_user_id" }
|
|
]
|
|
},
|
|
"5": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"|",
|
|
["move_type", "=", "out_invoice"],
|
|
["move_type", "=", "out_refund"]
|
|
],
|
|
"id": "5",
|
|
"measures": [
|
|
{ "id": "price_subtotal", "fieldName": "price_subtotal" }
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "KPI - Income",
|
|
"sortedColumn": null,
|
|
"formulaId": "5",
|
|
"columns": [],
|
|
"rows": []
|
|
},
|
|
"6": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"|",
|
|
["move_type", "=", "out_invoice"],
|
|
["move_type", "=", "out_refund"]
|
|
],
|
|
"id": "6",
|
|
"measures": [
|
|
{ "id": "move_id", "fieldName": "move_id" },
|
|
{ "id": "price_subtotal", "fieldName": "price_subtotal" }
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "KPI - Average Invoice",
|
|
"sortedColumn": null,
|
|
"formulaId": "6",
|
|
"columns": [],
|
|
"rows": []
|
|
},
|
|
"7": {
|
|
"type": "ODOO",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": { "chain": "invoice_date", "type": "date", "offset": 0 },
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "product_categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
},
|
|
"context": {
|
|
"group_by": ["invoice_date"]
|
|
},
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
"&",
|
|
"|",
|
|
["move_type", "=", "out_invoice"],
|
|
["move_type", "=", "out_refund"],
|
|
["payment_state", "=", "not_paid"]
|
|
],
|
|
"id": "7",
|
|
"measures": [
|
|
{ "id": "price_subtotal", "fieldName": "price_subtotal" }
|
|
],
|
|
"model": "account.invoice.report",
|
|
"name": "KPI - Unpaid Invoices",
|
|
"sortedColumn": null,
|
|
"formulaId": "7",
|
|
"columns": [],
|
|
"rows": []
|
|
}
|
|
},
|
|
"pivotNextId": 8,
|
|
"customTableStyles": {},
|
|
"globalFilters": [
|
|
{
|
|
"id": "757a1b4b-e339-4879-beb6-9851050387cf",
|
|
"type": "date",
|
|
"label": "Period",
|
|
"defaultValue": "last_90_days"
|
|
},
|
|
{
|
|
"id": "8051befe-619f-4fe7-b788-d34584297bad",
|
|
"type": "relation",
|
|
"label": "Country",
|
|
"modelName": "res.country",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "17277380-12d8-4a83-b133-3532e5618c43",
|
|
"type": "relation",
|
|
"label": "Product Category",
|
|
"modelName": "product.category",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "accd0cbe-12c9-4cab-93a1-afa5080dd635",
|
|
"type": "relation",
|
|
"label": "Product",
|
|
"modelName": "product.product",
|
|
"defaultValueDisplayNames": []
|
|
},
|
|
{
|
|
"id": "02acc7f7-b282-4ce9-bf38-6abfb72be6aa",
|
|
"type": "relation",
|
|
"label": "Salesperson",
|
|
"modelName": "res.users",
|
|
"defaultValueDisplayNames": []
|
|
}
|
|
],
|
|
"lists": {
|
|
"1": {
|
|
"columns": [
|
|
"name",
|
|
"invoice_partner_display_name",
|
|
"invoice_date",
|
|
"invoice_date_due",
|
|
"activity_ids",
|
|
"amount_untaxed_signed",
|
|
"amount_total_signed",
|
|
"amount_total_in_currency_signed",
|
|
"payment_state",
|
|
"state"
|
|
],
|
|
"domain": [
|
|
"&",
|
|
[
|
|
"state",
|
|
"not in",
|
|
["draft", "cancel"]
|
|
],
|
|
["move_type", "=", "out_invoice"]
|
|
],
|
|
"model": "account.move",
|
|
"context": { "default_move_type": "out_invoice" },
|
|
"orderBy": [
|
|
{ "name": "amount_total_signed", "asc": false }
|
|
],
|
|
"id": "1",
|
|
"name": "Invoices by Total Signed",
|
|
"fieldMatching": {
|
|
"757a1b4b-e339-4879-beb6-9851050387cf": {
|
|
"chain": "invoice_date",
|
|
"type": "date",
|
|
"offset": 0
|
|
},
|
|
"8051befe-619f-4fe7-b788-d34584297bad": { "chain": "partner_id.country_id", "type": "many2one" },
|
|
"17277380-12d8-4a83-b133-3532e5618c43": { "chain": "invoice_line_ids.product_id.categ_id", "type": "many2one" },
|
|
"accd0cbe-12c9-4cab-93a1-afa5080dd635": { "chain": "invoice_line_ids.product_id", "type": "many2one" },
|
|
"02acc7f7-b282-4ce9-bf38-6abfb72be6aa": { "chain": "invoice_user_id", "type": "many2one" }
|
|
}
|
|
}
|
|
},
|
|
"listNextId": 2,
|
|
"chartOdooMenusReferences": {
|
|
"5ea5dd7f-9f83-4482-a2bb-2ec72ab35912": "account.menu_finance",
|
|
"1aeea7b2-900b-4067-b8ad-3e4772c54028": "account.menu_action_move_out_invoice_type",
|
|
"bdfb27d0-5902-4a2a-9b7e-514a6625578c": "account.menu_action_account_invoice_report_all",
|
|
"b1673523-d139-47fb-b5ea-9e4f969aacb6": "account.menu_action_account_invoice_report_all"
|
|
}
|
|
}
|