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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,