Allocation posted with error when multi-currency and immediate accounting
Description
When using immediate accounting and doing a payment for an invoice in a foreign currency, the allocation generated is left with an error because the payment is not posted yet.
When using immediate accounting and doing a payment for an invoice in a foreign currency, the allocation generated is left with an error because the payment is not posted yet.