From 254ec2cfd1416bbba512116b8109410fbe89b183 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:53:08 +0530 Subject: [PATCH] fix: In-Transit Warehouse company filter (backport #37796) (#37798) fix: In-Transit Warehouse company filter (#37796) (cherry picked from commit daf2ec063c4b0313e32e247459d0cb8dc6958833) Co-authored-by: hyaray --- erpnext/setup/doctype/company/company.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js index 4973dab505e..15944a56f0e 100644 --- a/erpnext/setup/doctype/company/company.js +++ b/erpnext/setup/doctype/company/company.js @@ -40,7 +40,7 @@ frappe.ui.form.on("Company", { filters:{ 'warehouse_type' : 'Transit', 'is_group': 0, - 'company': frm.doc.company + 'company': frm.doc.company_name } }; });