Skip to content

Commit

Permalink
fix: filter parent warehouses not showing (#35897)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisshang1993 authored Jun 27, 2023
1 parent 77d08b6 commit af418d2
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 af418d2

Please sign in to comment.