fix: Reordered and deleted unnecessary filters

This commit is contained in:
deepeshgarg007 2019-04-18 08:29:21 +05:30
parent cab2d82ea8
commit 4d1df416e9

View File

@ -4,18 +4,6 @@
frappe.query_reports["Inactive Items"] = {
"filters": [
{
fieldname: "territory",
label: __("Territory"),
fieldtype: "Link",
options: "Territory"
},
{
fieldname: "customer",
label: __("Customer"),
fieldtype: "Link",
options: "Customer"
},
{
fieldname: "item",
label: __("Item"),
@ -28,6 +16,13 @@ frappe.query_reports["Inactive Items"] = {
fieldtype: "Link",
options: "Item Group"
},
{
fieldname: "based_on",
label: __("Based On"),
fieldtype: "Select",
options: "Sales Order\nSales Invoice",
default: "Sales Order"
},
{
fieldname: "days",
label: __("Days Since Last order"),