2015-03-03 09:25:30 +00:00
|
|
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors and contributors
|
2014-10-10 12:32:23 +00:00
|
|
|
// For license information, please see license.txt
|
2013-08-05 09:29:54 +00:00
|
|
|
|
2014-10-10 12:32:23 +00:00
|
|
|
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",
|
2016-11-16 05:46:44 +00:00
|
|
|
"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",
|
2016-11-16 05:46:44 +00:00
|
|
|
"reqd": 1,
|
2014-02-14 10:17:51 +00:00
|
|
|
"default": frappe.datetime.get_today()
|
2015-02-18 14:21:48 +00:00
|
|
|
},
|
2017-03-26 10:25:18 +00:00
|
|
|
{
|
|
|
|
"fieldname": "item_group",
|
|
|
|
"label": __("Item Group"),
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"width": "80",
|
|
|
|
"options": "Item Group"
|
|
|
|
},
|
2015-02-18 14:21:48 +00:00
|
|
|
{
|
|
|
|
"fieldname": "item_code",
|
|
|
|
"label": __("Item"),
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"width": "80",
|
2016-03-14 09:29:21 +00:00
|
|
|
"options": "Item"
|
2016-03-07 07:41:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "warehouse",
|
|
|
|
"label": __("Warehouse"),
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"width": "80",
|
2016-03-14 09:29:21 +00:00
|
|
|
"options": "Warehouse"
|
2016-03-07 07:41:59 +00:00
|
|
|
},
|
2017-10-22 21:58:44 +00:00
|
|
|
{
|
2017-11-15 09:13:06 +00:00
|
|
|
"fieldname": "show_variant_attributes",
|
|
|
|
"label": __("Show Variant Attributes"),
|
2017-10-22 21:58:44 +00:00
|
|
|
"fieldtype": "Check"
|
|
|
|
},
|
2016-03-14 09:29:21 +00:00
|
|
|
]
|
2014-10-10 12:32:23 +00:00
|
|
|
}
|