Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
I suppose you are using Odoo 8 or below version.
If so, it depends on the user and his access, say you have logged in as "UserA" who has access to both the company.
Now when you are trying to make a payment, chances are always high that you may, or default values being fetched might belong to other company, hence system validates for such records, while posting.
So the best way to deal with it, either you login to a user who has access to single company and do the transactions, or install a module called "web_easy_switch_company", which helps you switch between the companies easily.
Download and try this App Easy_Switch_Company
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/4/16, 10:35 AM|
|Seen: 613 times|
|Last updated: 7/7/16, 12:43 PM|