From 3341cd6b80e28c60225b4f7edb77e8b9ca7d1437 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 29 May 2023 13:14:47 +0530 Subject: [PATCH] fix: filter parent warehouses by company --- erpnext/stock/doctype/warehouse/warehouse.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/warehouse/warehouse.js b/erpnext/stock/doctype/warehouse/warehouse.js index 7a8c593ba7d..87a23efc590 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.js +++ b/erpnext/stock/doctype/warehouse/warehouse.js @@ -17,6 +17,7 @@ frappe.ui.form.on("Warehouse", { return { filters: { is_group: 1, + company: doc.company, }, }; });