[Fix] Make from_date and to_date for stock balance query report as mandatory fields (#6948)

This commit is contained in:
Shreyas Patil 2016-11-16 11:16:44 +05:30 committed by Rushabh Mehta
parent 7be942db54
commit 99a3593a0d

View File

@ -8,6 +8,7 @@ frappe.query_reports["Stock Balance"] = {
"label": __("From Date"),
"fieldtype": "Date",
"width": "80",
"reqd": 1,
"default": sys_defaults.year_start_date,
},
{
@ -15,6 +16,7 @@ frappe.query_reports["Stock Balance"] = {
"label": __("To Date"),
"fieldtype": "Date",
"width": "80",
"reqd": 1,
"default": frappe.datetime.get_today()
},
{