[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"),
|
"label": __("From Date"),
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"width": "80",
|
"width": "80",
|
||||||
|
"reqd": 1,
|
||||||
"default": sys_defaults.year_start_date,
|
"default": sys_defaults.year_start_date,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -15,6 +16,7 @@ frappe.query_reports["Stock Balance"] = {
|
|||||||
"label": __("To Date"),
|
"label": __("To Date"),
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"width": "80",
|
"width": "80",
|
||||||
|
"reqd": 1,
|
||||||
"default": frappe.datetime.get_today()
|
"default": frappe.datetime.get_today()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user