I have two companies with their chart of account.
I'm trying to record a payment.
My user, the customer, the invoice, the period, the account are all in the secondary company.
But somehow, I get the error: "Account and Period must belong to the same company."
I've checked in the database, all records with company_id are set to my secondary company.