fix: Reordered and deleted unnecessary filters
This commit is contained in:
parent
cab2d82ea8
commit
4d1df416e9
@ -4,18 +4,6 @@
|
|||||||
|
|
||||||
frappe.query_reports["Inactive Items"] = {
|
frappe.query_reports["Inactive Items"] = {
|
||||||
"filters": [
|
"filters": [
|
||||||
{
|
|
||||||
fieldname: "territory",
|
|
||||||
label: __("Territory"),
|
|
||||||
fieldtype: "Link",
|
|
||||||
options: "Territory"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
fieldname: "customer",
|
|
||||||
label: __("Customer"),
|
|
||||||
fieldtype: "Link",
|
|
||||||
options: "Customer"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
fieldname: "item",
|
fieldname: "item",
|
||||||
label: __("Item"),
|
label: __("Item"),
|
||||||
@ -28,6 +16,13 @@ frappe.query_reports["Inactive Items"] = {
|
|||||||
fieldtype: "Link",
|
fieldtype: "Link",
|
||||||
options: "Item Group"
|
options: "Item Group"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
fieldname: "based_on",
|
||||||
|
label: __("Based On"),
|
||||||
|
fieldtype: "Select",
|
||||||
|
options: "Sales Order\nSales Invoice",
|
||||||
|
default: "Sales Order"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
fieldname: "days",
|
fieldname: "days",
|
||||||
label: __("Days Since Last order"),
|
label: __("Days Since Last order"),
|
||||||
|
Loading…
Reference in New Issue
Block a user