From c7b96df69c627c76d293deac182986403cf70942 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 20:03:42 +0530 Subject: [PATCH] fix: report path from the Item and Putaway Rule list (backport #40190) (#40266) fix: report path from the Item and Putaway Rule list (#40190) (cherry picked from commit 8e2f9787c1fbc98930750d34ce592d2fb56fcc1e) Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com> --- 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 22d38e88935..3946a4291d3 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 725e91ee8d9..753569c8812 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' } ] };