From e6ac87e86fc93c0662e69a79697e18612098964e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 30 Apr 2015 15:33:31 -0700 Subject: [PATCH] Gross Profit Report: Company filter should be reqd --- erpnext/accounts/report/gross_profit/gross_profit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/report/gross_profit/gross_profit.js b/erpnext/accounts/report/gross_profit/gross_profit.js index b744e29ccbb..9035626c61a 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.js +++ b/erpnext/accounts/report/gross_profit/gross_profit.js @@ -8,6 +8,7 @@ frappe.query_reports["Gross Profit"] = { "label": __("Company"), "fieldtype": "Link", "options": "Company", + "reqd": 1, "default": frappe.defaults.get_user_default("company") }, {