chore: Added Dynamic Charts to DN and PR Trends Reports

This commit is contained in:
marination
2020-05-15 01:33:43 +05:30
parent 10bd2417ff
commit bb95cd5fd8
5 changed files with 67 additions and 6 deletions

View File

@@ -51,7 +51,10 @@ erpnext.get_purchase_trends_filters = function() {
{ "value": "Supplier Group", "label": __("Supplier Group") },
{ "value": "Project", "label": __("Project") }
],
"default": "Item"
"default": "Item",
"dashboard_config": {
"read_only": 1,
}
},
{
"fieldname":"group_by",

View File

@@ -27,7 +27,10 @@ erpnext.get_sales_trends_filters = function() {
{ "value": "Territory", "label": __("Territory") },
{ "value": "Project", "label": __("Project") }
],
"default": "Item"
"default": "Item",
"dashboard_config": {
"read_only": 1,
}
},
{
"fieldname":"group_by",