commit | af418d2342281c5a1fe6291971ee94e2eca42b3b | [log] [tgz] |
---|---|---|
author | HLD <hanglaoda@hotmail.com> | Tue Jun 27 15:47:52 2023 +0800 |
committer | GitHub <noreply@github.com> | Tue Jun 27 13:17:52 2023 +0530 |
tree | bb098ce6901549029c6d04b37a44a658709b7eec | |
parent | 77d08b6dbe44ffa3d095705ffb8cd09072b8901a [diff] |
fix: filter parent warehouses not showing (#35897)
diff --git a/erpnext/stock/doctype/warehouse/warehouse.js b/erpnext/stock/doctype/warehouse/warehouse.js index 87a23ef..746a1cb 100644 --- a/erpnext/stock/doctype/warehouse/warehouse.js +++ b/erpnext/stock/doctype/warehouse/warehouse.js
@@ -13,7 +13,7 @@ }; }); - frm.set_query("parent_warehouse", function () { + frm.set_query("parent_warehouse", function (doc) { return { filters: { is_group: 1,