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

This commit is contained in:
jeshani
2024-03-30 07:46:22 +03:00
committed by GitHub
parent 8e522183bc
commit 679aea607b

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