Skip to content

Commit

Permalink
fix: Dont fetch Stopped/Cancelled MRs in Stock Entry Get Items dialog (
Browse files Browse the repository at this point in the history
  • Loading branch information
marination authored Sep 6, 2021
1 parent ceaa804 commit 0f2a520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/stock_entry/stock_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ frappe.ui.form.on('Stock Entry', {
get_query_filters: {
docstatus: 1,
material_request_type: ["in", allowed_request_types],
status: ["not in", ["Transferred", "Issued"]]
status: ["not in", ["Transferred", "Issued", "Cancelled", "Stopped"]]
}
})
}, __("Get Items From"));
Expand Down

0 comments on commit 0f2a520

Please sign in to comment.