brotherton-erpnext/erpnext/stock/report/stock_balance/stock_balance.js

45 lines
931 B
JavaScript
Raw Normal View History

// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors and contributors
// For license information, please see license.txt
frappe.query_reports["Stock Balance"] = {
2013-06-05 06:06:24 +00:00
"filters": [
{
"fieldname":"from_date",
2014-04-14 10:55:30 +00:00
"label": __("From Date"),
2013-06-05 06:06:24 +00:00
"fieldtype": "Date",
"width": "80",
"reqd": 1,
2017-05-30 07:24:42 +00:00
"default": frappe.sys_defaults.year_start_date,
2013-06-05 06:06:24 +00:00
},
{
"fieldname":"to_date",
2014-04-14 10:55:30 +00:00
"label": __("To Date"),
2013-06-05 06:06:24 +00:00
"fieldtype": "Date",
"width": "80",
"reqd": 1,
2014-02-14 10:17:51 +00:00
"default": frappe.datetime.get_today()
},
{
"fieldname": "item_group",
"label": __("Item Group"),
"fieldtype": "Link",
"width": "80",
"options": "Item Group"
},
{
"fieldname": "item_code",
"label": __("Item"),
"fieldtype": "Link",
"width": "80",
"options": "Item"
},
{
"fieldname": "warehouse",
"label": __("Warehouse"),
"fieldtype": "Link",
"width": "80",
"options": "Warehouse"
},
]
}