fix: Make Company the first filter

This commit is contained in:
marination 2020-05-01 00:01:37 +05:30
parent 89c41d8384
commit 3568dc75be

View File

@ -3,6 +3,14 @@
frappe.query_reports["Stock Balance"] = {
"filters": [
{
"fieldname": "company",
"label": __("Company"),
"fieldtype": "Link",
"width": "80",
"options": "Company",
"default": frappe.defaults.get_default("company")
},
{
"fieldname":"from_date",
"label": __("From Date"),
@ -19,14 +27,6 @@ frappe.query_reports["Stock Balance"] = {
"reqd": 1,
"default": frappe.datetime.get_today()
},
{
"fieldname": "company",
"label": __("Company"),
"fieldtype": "Link",
"width": "80",
"options": "Company",
"default": frappe.defaults.get_default("company")
},
{
"fieldname": "item_group",
"label": __("Item Group"),