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

(cherry picked from commit 1d90f7684e0fce8227fb566fa4110b96003d9ee5)

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
Frappe PR Bot 2021-08-05 20:13:28 +05:30 committed by GitHub
parent 5b5a365aaf
commit 6e07ec2617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
},
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
}