fix: filter parent warehouses not showing (backport #35897) (#35899)

fix: filter parent warehouses not showing (#35897)

(cherry picked from commit af418d2342)

Co-authored-by: HLD <hanglaoda@hotmail.com>
This commit is contained in:
mergify[bot]
2023-06-27 14:19:57 +05:30
committed by GitHub
parent 017729d545
commit 87ba196473

View File

@@ -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,