fix: Fetch Material Requests with type Issue as well in Stock Entry via Get Items from

This commit is contained in:
marination 2020-04-15 21:19:04 +05:30
parent 0ebcb4733a
commit 0b98a6296b

View File

@ -220,8 +220,8 @@ frappe.ui.form.on('Stock Entry', {
},
get_query_filters: {
docstatus: 1,
material_request_type: "Material Transfer",
status: ['!=', 'Transferred']
material_request_type: ["in", ["Material Transfer", "Material Issue"]],
status: ["not in", ["Transferred", "Issued"]]
}
})
}, __("Get items from"));