Filters not showing in Script Report

Hi, I am not sure why filters are not showing.

This is my js code

frappe.query_reports["MOR VAT Return"] = {
	"filters": [
		{
			"fieldname":"from_date",
			"label": __("From Date"),
			"fieldtype": "Date",
			"default": frappe.datetime.add_months(frappe.datetime.get_today(), -1),
			"width": "80"
		},
		{
			"fieldname":"to_date",
			"label": __("To Date"),
			"fieldtype": "Date",
			"default": frappe.datetime.get_today()
		},
		{
			"fieldname":"company",
			"label": __("Company"),
			"fieldtype": "Link",
			"options": "Company",
			"default": frappe.defaults.get_user_default("Company")
		}
	]
};

It is correct, maybe use
bench clear-cache
or restart the server
bench migrate

1 Like

Thank you @Rajat96318

I just put it in frontend :sweat_smile: