Skip to content

Commit

Permalink
fix: filter parent warehouses not showing (backport #35897) (#35899)
Browse files Browse the repository at this point in the history
fix: filter parent warehouses not showing (#35897)

(cherry picked from commit af418d2)

Co-authored-by: HLD <hanglaoda@hotmail.com>
  • Loading branch information
mergify[bot] and kisshang1993 committed Jun 27, 2023
1 parent 017729d commit 87ba196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/warehouse/warehouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ frappe.ui.form.on("Warehouse", {
};
});

frm.set_query("parent_warehouse", function () {
frm.set_query("parent_warehouse", function (doc) {
return {
filters: {
is_group: 1,
Expand Down

0 comments on commit 87ba196

Please sign in to comment.