2014-10-10 12:32:23 +00:00
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and contributors
|
|
|
|
// 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",
|
|
|
|
"default": sys_defaults.year_start_date,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2014-02-14 10:17:51 +00:00
|
|
|
"default": frappe.datetime.get_today()
|
2013-06-05 06:06:24 +00:00
|
|
|
}
|
|
|
|
]
|
2014-10-10 12:32:23 +00:00
|
|
|
}
|