fix: Do not fetch fully return issued purchase receipts (#26809)

This commit is contained in:
Deepesh Garg 2021-08-05 19:17:32 +05:30 committed by GitHub
parent 884d8cf065
commit 1d90f7684e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
},
get_query_filters: {
docstatus: 1,
status: ["not in", ["Closed", "Completed"]],
status: ["not in", ["Closed", "Completed", "Return Issued"]],
company: me.frm.doc.company,
is_return: 0
}