fix: Warehouse linked company name in multicompany setup (backport #40779) (#40781)

fix: Warehouse linked company name in multicompany setup (#40779)

(cherry picked from commit 679aea607b)

Co-authored-by: jeshani <56191568+jeshani@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2024-03-30 10:18:33 +05:30
committed by GitHub
parent 8ef0a66d3e
commit 33b6244ae6

View File

@@ -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,
});
});