Multi-Company Access
Give many users access to many companies in one go, and read every default-company move and group change Odoo will make before anything is saved
Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).
N x M
users by companies in a single change
2
things Odoo does by itself that the plan names first
4
mistakes refused before a single user is written
7
automated tests, none failing
base
the only module it depends on
19.0
Odoo version of this build
Multi-Company Access is for the administrator who has to put a team onto a new subsidiary, or take a contractor off several companies, in an Odoo 19 database. Odoo grants company access one user form at a time. This app lets you pick the users, pick the companies, choose grant or revoke, and press one button to see the whole change written out: which user gains or loses which company, how many were already the way you asked, whose default company has to move, and which users Odoo will quietly add to or remove from the Multi Company group. Only then do you press Apply. This page walks through each step with screenshots of an Odoo 19 database seeded with made-up data.
Install it and a Multi-Company Access entry appears under Settings, for administrators only. It depends on Odoo's base module and nothing else. The screenshots were taken in an Odoo 19 Community database: a fictitious group called Northfield with four companies (Holdings, UK, Lyon and Berlin) and a dozen internal users. The data is synthetic, and every number quoted beside a screenshot is read off that screenshot.
How it works
Why company access needs a plan
Use it when you move groups of people between companies and want to know what Odoo will do before it does it.Saves a change record, no access yet
In standard Odoo, which companies a person may work in is a field on their user form. Putting a thirty-person finance team onto a new subsidiary is therefore thirty forms. Taking a contractor off four companies means opening the user, editing a tag list, and hoping you remembered every company they were on. Nothing records who asked for it or why.
Two things then go wrong quietly. The first is the default company : every user has one, and it has to be one of the companies they are allowed into. Revoke the company somebody happens to default to and Odoo refuses the save, in the middle of whatever you were doing. In a batch, that means some users are already written and some are not. The second is the Multi Company group . Odoo adds and removes it by itself whenever a user's company list crosses between one company and several, so a change that only meant to touch companies also changes group membership, and the audit log is where you find out.
It moves both surprises in front of the save. You describe the change as a record: users, companies, grant or revoke, and a short reason. Press Work out the change and the app lists every access that would move, named user by named company, counts how many were already correct, and states the default-company moves and the group changes in plain sentences. Nothing is written yet.
Then it refuses the mistakes that cost people an afternoon: applying a plan that no longer describes the selection, applying a change that would leave somebody with no company, applying a revocation that would strand a default company until you have said how to handle it, and applying the same change twice. Companies the change never mentions are left alone.
1 Describe the change: users, companies, grant or revoke
Use it when somebody has asked for a group of people to gain or lose companies and you want it written down, with the reason, before anyone is touched.Saves a draft, no access yet
A bulk change that lives in somebody's head, or in a chat message, is the same change you will be asked to explain next quarter. And a tool that starts writing the moment you tick the boxes gives you no chance to be wrong cheaply.
The form has two columns. On the left, Users and Companies are tag fields: type to pick several of each. Users lists internal users only, so portal accounts cannot end up in a company change by mistake. On the right, Operation is a pair of choices, Grant access to the companies or Revoke access to the companies , and Why is a one-line note for whoever reads the record in a year.
The status bar runs Draft, Planned, Applied . The list view shows every change with its operation, how many grants it moves, when it was created and a state badge, and the search view filters by Applied, Not applied yet and Revocations, and groups by operation or state. Nothing on a draft has changed anything: it is a row in a list.
A draft: users, companies, operation and the reason. Nothing is written.
The list of changes, each with its state.
Northfield has just opened a Lyon subsidiary and the CFO wants the finance team in it. The administrator opens a change called Finance team onto Northfield Lyon , picks six finance users, picks Northfield Lyon, leaves the operation on Grant, and writes Requested by the CFO, 12 Oct as the reason. Six user forms did not need to be opened.
A draft does not check anything. It does not know which of the users already have a company or which one is their default: that is what the next step works out.
a saved change with its users, companies, operation and reason, visible in one list and still doing nothing to anyone's access.
Only administrators (the Settings group) can see the menu or the changes. Users are limited to internal users in the picker, but the picker is a convenience: the work-out step is what checks the change.


2 Work out the change: every grant, named
Use it when you want to read exactly who gains or loses what before it is written.Reads and reports, writes nothing to users
The count that matters is not how many users you picked times how many companies you picked. Some of those pairs are already the way you asked. A plan that reports the product of the two numbers overstates the change, and nobody can check it against what they expected.
Pressing Work out the change goes through every user and every company in the selection and sorts each pair into one of two piles: a pair that would change, or a pair that is already correct. For a grant, a pair changes when the user does not have the company. For a revoke, a pair changes when the user does have it. The two numbers are shown as Grants to change and Already correct .
Under them, the plan lists one line per change, such as grant Anna Weber: Northfield Lyon , with the user and the company named. The list shows the first two hundred lines and then says how many more there are. The change moves to the Planned state, and an Open the users button appears, which opens exactly the users in the change so you can look at them before applying.
A worked-out grant: 5 would change, 1 was already correct, and the group note at the bottom.
The finance change picks six users and one company, so a careless estimate would say six grants. The plan says 5 to change, 1 already correct : Farid Haddad was already in Northfield Lyon. He is not listed in the grant lines, so he is not touched. If somebody had only counted the picks, the administrator would have gone looking for a sixth change that was never going to happen.
Working out a change does not touch any user. It writes only to the change record: the two counts, the plan text and the Planned state.
a line for every access that would move, a count of what was already right, and one button to open the people involved.
The plan describes the database as it is when you press the button. It is not refreshed on its own: if somebody changes a user's companies elsewhere in the meantime, press Work out the change again before applying.

3 Default company: moved first, not refused halfway
Use it when you are taking a company away from somebody and it might be the one they default to.Names the move, you tick the box
Every Odoo user has a default company, and Odoo insists it is one of the companies they are allowed into. Take that company away and Odoo refuses to save the user. If you were revoking from several people, the refusal arrives part-way through: the users before it are already written, the ones after it are not, and you are left with a half-done change to reconstruct.
The plan works out, for every user, the companies they would be left with. If the default company they have today is not among them, the plan says so in a sentence naming the user and where they would go: Their default company is being taken away, so it would move: Gareth Moon to Northfield Holdings. The new default is the first of the companies the user keeps, in Odoo's usual company order.
A checkbox, Yes, move their default company , appears under the plan, and only when a default would be stranded. Until it is ticked, Apply is refused with a message that tells you to tick it. When it is ticked, the app changes the allowed companies and the default company in a single write for each user, which is what Odoo's own check needs in order to pass.
A revoke that would strand a default: the plan names the move and asks for a tick.
Apply with the box unticked: refused, in words, before anything is written.
Gareth Moon is a contractor with access to Holdings, UK and Lyon, and Lyon is his default. His contract ends, so the administrator revokes Lyon and UK. The plan reports 2 grants to change , says his default would move to Northfield Holdings, and adds that Odoo will take the Multi Company group away from him (the next section). Pressing Apply without ticking the box raises the refusal shown above. Ticking the box and applying leaves him in Holdings only, with Holdings as his default.
It does not let you choose each person's new default. If two people in the same change need different defaults, split the change in two.
a revocation that either lands whole, with the default moved on purpose, or is refused before it starts.
The box is a single decision for everyone in the change: you cannot move one person's default and refuse for another. The new default is chosen by the app, not by you.


4 The Multi Company group Odoo changes by itself
Use it when you need to know which users will gain or lose the Multi Company group as a side effect of a company change.Stated in the plan
Odoo keeps a group called Multi Company. Whenever a user's list of allowed companies is written, Odoo re-evaluates it: one company or fewer removes the group, more than one adds it. It is correct behaviour, and it is also a change to group membership that nobody asked for. If you are the person answering the auditor, a company change that also shows up as a group change is a surprise to explain.
The plan compares, for each user, how many companies they have before with how many they would have after. Anyone crossing from one company to several is named in a sentence: Odoo will also add the Multi Company group to , followed by the users. Anyone crossing from several to one or none is named in a second sentence: Odoo will also take the Multi Company group away from . A change that stays on one side of the line (several before and several after, or one before and one after) says nothing, because nothing happens.
The group change is not something this app performs. It is Odoo's own behaviour, stated beforehand so that it reads as expected in the audit log. A test applies a grant and checks that the group really appears, which is why the plan can promise it.
The group sentence sits at the end of the plan, naming each user.
In the finance grant, five users each had one company and would have two, so the plan ends with Odoo will also add the Multi Company group to: Anna Weber, Ben Hughes, Carla Mendes, Dev Patel, Elena Rossi. Farid Haddad already had two companies, so he is not in that sentence. In Gareth Moon's revoke the sentence goes the other way: Odoo will also take the Multi Company group away from: Gareth Moon.
It does not give users different rights in different companies. Odoo groups are global, and this app leaves that alone.
the group changes Odoo makes on its own are written into the plan, by user, before they happen.
The sentence is about the Multi Company group only. It does not report any other group, and it does not change anything: it only tells you what Odoo is about to do.

5 Refusals: four ways a change is stopped
Use it when you want the app to say no to the changes that would cost you an afternoon.Refuses before writing
A bulk tool is only as safe as the things it will not do. With company access the dangerous things are quiet: a plan on screen that no longer matches the selection, a user left with nowhere to work, a default company that Odoo will reject half-way, and the same change run twice.
The selection moved. When you press Work out the change, the app records exactly which users, which companies and which operation the plan describes. Apply checks that the selection still matches. If you added a user, dropped a company or flipped the operation after planning, Apply is refused: The selection changed since the plan was worked out, so the list on screen describes a different change. Work it out again before applying. The same message covers a change that was never worked out at all.
Nobody left with no company. If a revoke would leave any user with no company, the plan says so under the lines ( This would leave nobody a company to work in , naming them) and Apply is refused: This would leave one or more users with no company at all, and Odoo requires every active user to have one. Leave them at least one company. The app's own wording is what appears, not an error raised half-way through.
A stranded default. As in the previous sections, Apply is refused until you have ticked the box that moves the default.
Twice. An applied change cannot be applied again: This change has already been applied. Copy it to run it again. The fields are read-only once applied, and Work out the change is hidden.
A revoke that would leave one user with no company, stated in the plan.
Apply refuses, in the app's own words.
A plan that no longer matches the selection is refused.
Hana Kim and Ivan Petrov were both meant to go onto Northfield Berlin. The administrator worked out the change for Hana alone, then added Ivan to the user list and pressed Apply without planning again. The screen still showed a plan for one grant; the real change would have been two. The refusal above appears, and the administrator presses Work out the change again.
The refusals protect the change you describe. They do not stop someone from editing a user's companies by hand afterwards, in the standard form, and they do not know about companies Odoo itself would refuse for another reason.
a change either goes through exactly as the plan said, or it is stopped with a sentence that tells you what to do next.
The guards are in the app, so they apply to every way of pressing Apply from the form. The three guards that are about people and companies are checked again at Apply time, not only when you plan.



6 Apply: confirm, write, and keep the record
Use it when the plan reads the way you meant and you want the access written.Writes company access to users
Once company access is saved, people see or lose sight of a company's data straight away. The step that does it should be a deliberate one, with a record of what it did.
Apply only appears once the change has been worked out. Pressing it asks for confirmation: This writes the company access listed above. People gain or lose sight of a company's data as soon as it is saved. After you confirm, the app makes one ordinary write for each user whose access moves. A grant adds the companies and a revoke removes them. If a default has to move, the new default goes into the same write as the company list. Users in the change who needed no change are skipped.
The change becomes Applied . Users, companies and operation lock, so the record stays an honest account of what was done, and the list shows it with a green badge. The Why note and the creation date stay with it: the record the thirty forms never left behind.
Apply asks first.
An applied change: locked, with the plan kept as it was.
The Berlin pilot adds two analysts, Ines Vogel and Jonas Klein, to Northfield Berlin. The plan says 2 grants to change, 0 already correct, and that Odoo will add the Multi Company group to both. The administrator applies it. The record turns Applied and cannot be edited, and the list shows it with a green badge.
Applying does not touch the records people created in a company. It changes which companies they can work in from now on. The note on the record shows what you typed and when it was created; the form does not display who created it.
company access written for every user in the change, a locked record of what was done, and a button that opens the people.
The effect is immediate once confirmed, and there is no Undo button. To reverse a change, make a new change with the opposite operation and work it out the same way.


7 Only what you asked for: other companies stay put
Use it when people already have access you were never asked about, and you want it to survive the change.Adds or removes only the named pairs
A bulk tool that rewrites a user's whole company list is simple to build, and it quietly removes access nobody mentioned. The person who lost a company has no way to find out why, and the administrator has no way to find out who else it happened to.
Apply never sets a user's company list. It adds the companies you named, or removes the companies you named, and leaves every other company on the user exactly where it was. The plan only ever lists the named pairs. A company the change does not mention does not appear in it.
After the Berlin pilot: Ines Vogel keeps Holdings, gains Berlin, and her default has not moved.
Ines Vogel worked only in Northfield Holdings. After the Berlin pilot her user form shows Berlin and Holdings, and her default company is still Holdings: she gained one company and nothing else moved. Had she held a third company, it would be there too.
It cannot set a user's access to an exact list in one go, because that is the rewrite it exists to avoid.
access that nobody mentioned is still there afterwards, and the plan never lists it.
Only the pairs you name move. If you want somebody to end up with an exact list, grant the missing companies and revoke the extra ones as two changes.

Who it is for
The Odoo administrator of a growing group who opens a new subsidiary every year and has to put the same people into it. One change record replaces a list of user forms, and the plan shows who was already in.
The consultant doing a company roll-out or a clean-up who wants every bulk move written down with a reason, and who does not want to discover a refused default company half-way through a client's batch.
Whoever answers the auditor : each applied change keeps its users, its companies, its operation, its plan and its reason, and the plan has already told you about the group changes that Odoo made along the way.
It is not for end users: only administrators can open it. It is also not for people who want different rights in different companies: see the limits below.
What this app does not do
It does not give a user different access rights in different companies. Odoo groups are global: a Sales Manager is a Sales Manager in every company. This app does not change that, and it cannot be done safely by rewriting groups when somebody switches company, because Odoo caches group membership per user and a user can have several companies active at once.
It changes visibility, not history. Revoking a company does not touch the records somebody already created there. It changes what they can reach from now on.
The plan lists the first two hundred changes and then says how many more there are. The default-company and group sentences name every user, however many there are. The plan is not refreshed on its own: work it out again after anything else has edited the users.
The default-company box is one decision for the whole change, and the new default is the first remaining company in Odoo's order, not one you choose. There is no Undo: reverse a change with a new change in the opposite direction.
It does not create companies, archive users or change a user's groups, other than the Multi Company group that Odoo changes by itself and the plan names. It does not record who applied a change or when it was applied; the record keeps the creation date and your Why note. It does not offer an exact-list mode.
Odoo 19 and the other version
This page is for the Odoo 19 build. The Odoo Apps store lists and sells each Odoo version separately, so the build for the other version has its own page and its own purchase. The screens, the plan sentences and the refusals work the same way on both versions.
Questions buyers ask
Does working out the change alter any user?
No. It writes only to the change record: the two counts, the plan text and the Planned state. Users are written only when you press Apply and confirm.
What if one of my users is already in the company?
They are counted under Already correct and left out of the plan lines. A grant that finds everyone already in says Nothing would change.
Will it break half-way through a batch?
The checks that Odoo itself would trip on, a default company outside the allowed list and a user with no company, are made before the first user is written, and either refuse the change or are handled as described above. The refusals come from the app, in its own words.
Does it change anybody's groups?
Only the Multi Company group, and only because Odoo does that itself when a user crosses between one company and several. The plan names the users beforehand. This app writes company access, nothing else.
What happens to records already created in a company I revoke?
Nothing. They stay where they are. The user simply can no longer reach that company's data from now on.
Can I undo an applied change?
Not with a button. Make a new change with the opposite operation, work it out, read the plan and apply it. The old record stays as the account of what happened.
Requirements
- Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
- Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
- Module
mh_multi_company_access, version 19.0.1.0.12, licensed OPL-1.