From ceac42dfaa691d169603a529545c6fd70facf247 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 30 Mar 2024 10:18:16 +0530 Subject: [PATCH] fix: Warehouse linked company name in multicompany setup (backport #40779) (#40780) fix: Warehouse linked company name in multicompany setup (#40779) (cherry picked from commit 679aea607b1bf7c9303a2cbe1a7b5629a03f3f4f) Co-authored-by: jeshani <56191568+jeshani@users.noreply.github.com> --- 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 4f44db023dd..9457c25b22d 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.js +++ b/erpnext/stock/doctype/warehouse/warehouse.js @@ -49,6 +49,7 @@ frappe.ui.form.on("Warehouse", { frm.add_custom_button(__("Stock Balance"), function () { frappe.set_route("query-report", "Stock Balance", { warehouse: frm.doc.name, + company: frm.doc.company, }); });