invoice not marked as paid
I think I identified a possible bug in invoice state management regarding reconciliation.
I had the following scenario:
- create an invoice for Party "FOO" and only validate it (not posted)
- using Statement, create a Line of the amount the invoice and associate the party to "FOO"
- reconcile party account: the invoice is validated so a Move exist and reconciliation will succeed
- post the invoice
The invoice is in state "posted" whereas I would expect to it to be in "paid" state.
I dunno how to put it in "paid" state as the move is already reconcilied.