fix: filter parent warehouses not showing (#35897)

This commit is contained in:
HLD
2023-06-27 15:47:52 +08:00
committed by GitHub
parent 77d08b6dbe
commit af418d2342

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,