Gross Profit Report: Company filter should be reqd

This commit is contained in:
Anand Doshi 2015-04-30 15:33:31 -07:00
parent ec3ad7d865
commit e6ac87e86f

View File

@ -8,6 +8,7 @@ frappe.query_reports["Gross Profit"] = {
"label": __("Company"), "label": __("Company"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Company", "options": "Company",
"reqd": 1,
"default": frappe.defaults.get_user_default("company") "default": frappe.defaults.get_user_default("company")
}, },
{ {