fix: use dictionary filter instead of list (#25874)
Item query doesn't support list filter anymore.
This commit is contained in:
parent
fb9cb0fd23
commit
431d3295b4
@ -76,9 +76,9 @@ frappe.ui.form.on("Work Order", {
|
||||
frm.set_query("production_item", function() {
|
||||
return {
|
||||
query: "erpnext.controllers.queries.item_query",
|
||||
filters:[
|
||||
['is_stock_item', '=',1]
|
||||
]
|
||||
filters: {
|
||||
"is_stock_item": 1,
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user