[Fix] Make from_date and to_date for stock balance query report as mandatory fields (#6948)
This commit is contained in:
parent
7be942db54
commit
99a3593a0d
@ -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()
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user