That doesnt help. As I described above, if invoices is activated but the order is not paid, no payment is added to the order.
In my above example, invoices is activated for the status "Waiting for payment, order is printed", still there is no order_payment created in the database if we change to it. (I explained what is happening in the code and why).
We can print the invoice, yes, but no payment is displayed because it wasnt added yet (because it needs to paid to be added).