Cannot Filter Purchase Invoice with Status 'Temporarily on Hold' in List View

For Purchase Invoice, in List View, if we click on Temporarily on Hold for a purchase invoice with that status to create a filter, we get the following error:

Invalid filter: " undefined "

Also, if we try to create a filter manually for Status we can see that ‘Temporarily on Hold’ is not an option for any of the operators.

Running on ERPNext Cloud
ERPNext: v12.5.2 (version-12)
Frappe Framework: v12.3.0 (version-12)

i could not found this status in Purchase Invoice doctype , did you add it manually ?

i have
ERPNext: v12.5.1 (version-12)

Frappe Framework: v12.3.0 (version-12)

I did not add the status Temporarily on Hold manually.

The purchase invoice status changed to it automatically by doing the following:

  1. Submit new purchase invoice.

  2. Click on Create, choose Block Invoice.


  1. Enter Release Date and Reason For Putting On Hold. Save.

  2. Purchase invoice will appear with status Temporarily on Hold in List View.


One interesting thing I noticed is that if you open the purchase invoice and scroll down to More Information, you can see that the Status of the invoice is Overdue, not Temporarily on Hold.

I have found the same issue, raised it on github.

Thank you! Here’s the link to the github issue.

You can Filter it via Hold Invoice. That field is checked when you block an invoice.

Thank you for pointing this out.

It seems the Status of the invoice is not actually tied to this.

For example, an invoice can be Overdue, Unpaid or Paid and still have “Hold Invoice” as true.