[fix][multiselect] don't show completed PRECs for a PINV (#9125)

This commit is contained in:
Prateeksha Singh 2017-06-07 11:55:25 +05:30 committed by Nabin Hait
parent db8363e9eb
commit 3a18dea8a4

View File

@ -78,7 +78,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
},
get_query_filters: {
docstatus: 1,
status: ["!=", "Closed"],
status: ["not in", ["Closed", "Completed"]],
company: me.frm.doc.company,
is_return: 0
}