(cherry picked from commit f10771029a
)
Co-authored-by: Anupam Kumar <anupamvns0099@gmail.com>
This commit is contained in:
parent
82de993a69
commit
2f45fad47d
@ -21,8 +21,8 @@ def get_dashboards():
|
|||||||
{ "chart": "Opportunity Trends", "width": "Full"},
|
{ "chart": "Opportunity Trends", "width": "Full"},
|
||||||
{ "chart": "Won Opportunities", "width": "Full" },
|
{ "chart": "Won Opportunities", "width": "Full" },
|
||||||
{ "chart": "Territory Wise Opportunity Count", "width": "Half"},
|
{ "chart": "Territory Wise Opportunity Count", "width": "Half"},
|
||||||
{ "chart": "Territory Wise Sales", "width": "Half"},
|
|
||||||
{ "chart": "Opportunities via Campaigns", "width": "Half" },
|
{ "chart": "Opportunities via Campaigns", "width": "Half" },
|
||||||
|
{ "chart": "Territory Wise Sales", "width": "Full"},
|
||||||
{ "chart": "Lead Source", "width": "Half"}
|
{ "chart": "Lead Source", "width": "Half"}
|
||||||
],
|
],
|
||||||
"cards": [
|
"cards": [
|
||||||
@ -59,7 +59,7 @@ def get_charts():
|
|||||||
'is_public': 1,
|
'is_public': 1,
|
||||||
'timeseries': 1,
|
'timeseries': 1,
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"filters_json": json.dumps([["Opportunity", "company", "=", company, False]]),
|
"filters_json": json.dumps([]),
|
||||||
"type": "Bar"
|
"type": "Bar"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -90,7 +90,11 @@ def get_charts():
|
|||||||
'timeseries': 1,
|
'timeseries': 1,
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"filters_json": json.dumps([["Opportunity", "company", "=", company, False]]),
|
"filters_json": json.dumps([["Opportunity", "company", "=", company, False]]),
|
||||||
"type": "Pie"
|
"type": "Pie",
|
||||||
|
"custom_options": json.dumps({
|
||||||
|
"truncateLegends": 1,
|
||||||
|
"maxSlices": 8
|
||||||
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Won Opportunities",
|
"name": "Won Opportunities",
|
||||||
@ -123,7 +127,11 @@ def get_charts():
|
|||||||
["Opportunity", "company", "=", company, False]
|
["Opportunity", "company", "=", company, False]
|
||||||
]),
|
]),
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"type": "Donut"
|
"type": "Donut",
|
||||||
|
"custom_options": json.dumps({
|
||||||
|
"truncateLegends": 1,
|
||||||
|
"maxSlices": 8
|
||||||
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Territory Wise Sales",
|
"name": "Territory Wise Sales",
|
||||||
@ -140,7 +148,7 @@ def get_charts():
|
|||||||
["Opportunity", "company", "=", company, False],
|
["Opportunity", "company", "=", company, False],
|
||||||
["Opportunity", "status", "=", "Converted", False]
|
["Opportunity", "status", "=", "Converted", False]
|
||||||
]),
|
]),
|
||||||
"type": "Donut"
|
"type": "Bar"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Lead Source",
|
"name": "Lead Source",
|
||||||
@ -152,7 +160,11 @@ def get_charts():
|
|||||||
"document_type": "Lead",
|
"document_type": "Lead",
|
||||||
'is_public': 1,
|
'is_public': 1,
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"type": "Pie"
|
"type": "Pie",
|
||||||
|
"custom_options": json.dumps({
|
||||||
|
"truncateLegends": 1,
|
||||||
|
"maxSlices": 8
|
||||||
|
})
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def get_number_cards():
|
def get_number_cards():
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
"idx": 0,
|
"idx": 0,
|
||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
"label": "CRM",
|
"label": "CRM",
|
||||||
"modified": "2020-05-20 12:11:36.250491",
|
"modified": "2020-05-28 13:29:28.253749",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "CRM",
|
"module": "CRM",
|
||||||
"name": "CRM",
|
"name": "CRM",
|
||||||
@ -76,7 +76,7 @@
|
|||||||
"type": "Report"
|
"type": "Report"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "CRM Dashboard",
|
"label": "Dashboard",
|
||||||
"link_to": "CRM",
|
"link_to": "CRM",
|
||||||
"type": "Dashboard"
|
"type": "Dashboard"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user