Merge pull request #21283 from marination/stock-entry-get-items-mr

fix: Fetch Material Requests with type Issue as well in Stock Entry via Get Items from
This commit is contained in:
rohitwaghchaure 2020-04-16 00:33:03 +05:30 committed by GitHub
commit 65628ac3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"));