A purchase invoice with an accrual was sometimes not saved if multiple administrations exist

If an accrual with the same sequence number occurred in another administration, it could happen that a purchase invoice with accruals was not saved.