commit | e8258fc3520367cf99e7dfc16ba35912ee9e03f3 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Mar 14 14:18:36 2019 +0530 |
committer | GitHub <noreply@github.com> | Thu Mar 14 14:18:36 2019 +0530 |
tree | 33c1e2d786951a076e79285cbbe24a84ae36a8e3 | |
parent | d63e0f490c67ac18d2eb2a72656f5964b51094c2 [diff] | |
parent | 9757a603fa99c3d05151c7b94d2eddffb04a6ddb [diff] |
Merge pull request #16854 from jay-parikh/hotfix fix: Default Company to Total Stock Summary Report
diff --git a/erpnext/stock/report/total_stock_summary/total_stock_summary.js b/erpnext/stock/report/total_stock_summary/total_stock_summary.js index 223a603..b7461c4 100644 --- a/erpnext/stock/report/total_stock_summary/total_stock_summary.js +++ b/erpnext/stock/report/total_stock_summary/total_stock_summary.js
@@ -18,7 +18,9 @@ "label": __("Company"), "fieldtype": "Link", "width": "80", - "options": "Company" + "options": "Company", + "default": frappe.defaults.get_user_default("Company"), + "reqd": 1 }, ] }