Purchase invoice released before sent to Approval

Purchase To Pay: Supplier Ledger Version 10.80

In some scenarios the invoice was released immediately, while it was expected to be sent to Approval. This is now fixed.