When several companies run in a single Odoo database, every employee should land in the right company right after logging in. Setting a default company saves time, reduces mistakes in documents, and keeps team work organized. In this article, we show how to assign a default company to a user in Odoo 19, how this setting works, and what to watch out for in a multi-company environment.
Want to see the features described here in action? Create your own database and test user settings with no commitment.
What is a user's default company in Odoo?
In Odoo, each user can have access to one or more companies. The default company is the one set as active when the user logs in. It is the context in which the user creates invoices, sales orders, purchase orders, stock moves, or journal entries, until they change the active company themselves using the company switcher in the top bar.
This setting is especially important in corporate groups, in companies with branches, and wherever one person handles several entities but mainly works in one of them day to day. A well-chosen default company reduces the risk of a document ending up in the wrong company.
Prerequisites
Before you assign a default company, make sure the following conditions are met:
- there are at least two companies in the database (Settings → Users & Companies → Companies) – only then do the multi-company fields appear in the user form,
- you have administrator rights (the Administration: Settings group) or another permission to manage users,
- the user you want to configure already exists, or you are creating them right now.
If you are just getting started with multiple companies, first take a look at the guide on how to assign multiple companies to a single user in Odoo 19. The default company must always be one of the allowed companies for the given user.
How to set a user's default company – step by step
Step 1: Open the list of users
Go to the Settings app, then select Users & Companies → Users. You will see a list of all accounts in the database. If you manage a larger number of people, you will find more tips in the article on managing users in Odoo 19 Enterprise.
Step 2: Select the user
Click the name of the user to whom you want to assign a default company. You can also create a new user with the New button and configure their companies right away.
Step 3: Go to the Access Rights tab
In the user form, open the Access Rights tab. In the multi-company section, you will find the Allowed Companies and Default Company fields. If you cannot see them, check whether the database contains more than one company.
Step 4: Add allowed companies
In the Allowed Companies field, select all the companies the user should have access to. Only then will you be able to choose one of them as the default.
Step 5: Select the default company
In the Default Company field, select the company the user should work in after logging in. Then save your changes using the save icon or a keyboard shortcut. The next time the user logs in, Odoo will set this company as active (with the caveat described in the section on common issues).
It is worth seeing how company switching works in a fresh test database before you make changes in your production environment.
How does company switching work after login?
The default company only determines the starting point. If a user has access to several companies, they will see a company switcher in the top bar of the interface. Clicking a company name sets it as the active one, meaning the one in which new documents are created. The checkboxes next to each company, on the other hand, let you show or hide their data. This way, an accounting employee can view the data of several entities at once, while new records still go to their main company.
Keep in mind that what a user sees also depends on their module permissions and access rules. If you want to further restrict the visible apps, see the post on how to restrict access to modules in Odoo 19.
Common issues and best practices
Company missing from the default company list
If you cannot select the desired company in the default company field, it most likely has not been added to the user's allowed companies. First add it in the Allowed Companies field, and then set it as the default.
The user sees data from another company
Check whether any additional companies are enabled in the company switcher. Odoo lets you work in the context of multiple companies at once, which can be confusing if someone does not notice the active entities. Remind your team how to read the switcher.
A company other than the default opens after login
Odoo remembers the most recently selected companies in the browser, so after logging in again on the same device, the user may see their previous selection instead of the default company from their profile. If the change is not visible, ask the user to log out, refresh the page, or log in using a private window. Manually selecting the correct company in the switcher also helps.
Best practices
- Assign the default company according to the person's actual place of work.
- Grant access to additional companies only to those who really need it.
- Review permissions regularly, especially after organizational changes.
- After changing settings, test the user's account to make sure they see and create documents in the right company.
- For sensitive data, consider additional safeguards, e.g. field access rights in Odoo 19.
When is it worth getting support from an Odoo partner?
Simply assigning a default company is quick, but a multi-company setup usually involves much more: shared and separate contacts, charts of accounts, warehouses, inter-company transactions, record rules, and permissions. Mistakes at this stage can result in chaos in your accounting or data leaking between companies.
If your structure is complex and the implementation seems complicated, consult an experienced team that will design it correctly from the start.
FAQ – frequently asked questions
Can a user change their default company on their own?
A regular user can switch the active company in the top bar switcher while working, provided they have access to several companies. Changing the default company field in their profile and the list of allowed companies is normally done by an administrator or a person with permission to manage users.
Does the default company have to be on the list of allowed companies?
Yes. The default company must be one of the companies the user has access to. First add the company to the Allowed Companies field, and only then select it as the default.
Does setting a default company restrict access to other companies?
No. The default company only determines which company is active after login. The companies a user can access are determined by the Allowed Companies field.
Why can't I see the Allowed Companies and Default Company fields?
These fields appear when the database contains more than one company. Add a second company under Settings → Users & Companies → Companies, and then refresh the user form.
Summary
To assign a default company to a user in Odoo 19, simply open their record, go to the Access Rights tab, fill in the allowed companies, and select the default one. It is a simple change that significantly improves user comfort and data security in a multi-company environment.
Need help implementing Odoo or sorting out permissions across multiple companies? Contact the KK Innovations team, and we will prepare a solution tailored to your organization.