2015-03-03 14:55:30 +05:30
|
|
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
2013-12-26 11:07:58 +05:30
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2014-02-14 15:47:51 +05:30
|
|
|
frappe.query_reports["Stock Ageing"] = {
|
2013-12-26 11:07:58 +05:30
|
|
|
"filters": [
|
|
|
|
{
|
|
|
|
"fieldname":"company",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("Company"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Company",
|
2015-12-23 16:37:00 +05:30
|
|
|
"default": frappe.defaults.get_user_default("Company"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"reqd": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"to_date",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("To Date"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"fieldtype": "Date",
|
2014-02-14 15:47:51 +05:30
|
|
|
"default": frappe.datetime.get_today(),
|
2013-12-26 11:07:58 +05:30
|
|
|
"reqd": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"warehouse",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("Warehouse"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Warehouse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"item_code",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("Item"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Item"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"brand",
|
2014-04-14 16:25:30 +05:30
|
|
|
"label": __("Brand"),
|
2013-12-26 11:07:58 +05:30
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Brand"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|