From 8e2f9787c1fbc98930750d34ce592d2fb56fcc1e Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:43:33 +0530 Subject: [PATCH] fix: report path from the Item and Putaway Rule list (#40190) --- erpnext/stock/doctype/item/item_list.js | 3 +-- erpnext/stock/doctype/putaway_rule/putaway_rule_list.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/erpnext/stock/doctype/item/item_list.js b/erpnext/stock/doctype/item/item_list.js index 1b57102d71..67dc86c89b 100644 --- a/erpnext/stock/doctype/item/item_list.js +++ b/erpnext/stock/doctype/item/item_list.js @@ -18,8 +18,7 @@ frappe.listview_settings['Item'] = { reports: [ { name: 'Stock Summary', - report_type: 'Page', - route: 'stock-balance' + route: '/app/stock-balance' }, { name: 'Stock Ledger', diff --git a/erpnext/stock/doctype/putaway_rule/putaway_rule_list.js b/erpnext/stock/doctype/putaway_rule/putaway_rule_list.js index 725e91ee8d..753569c881 100644 --- a/erpnext/stock/doctype/putaway_rule/putaway_rule_list.js +++ b/erpnext/stock/doctype/putaway_rule/putaway_rule_list.js @@ -11,8 +11,7 @@ frappe.listview_settings['Putaway Rule'] = { reports: [ { name: 'Warehouse Capacity Summary', - report_type: 'Page', - route: 'warehouse-capacity-summary' + route: '/app/warehouse-capacity-summary' } ] };