How do I implement this scenario? I have a user (sales representative) with multiple branches or companies. I want this user to log in fully without needing to manually activate all the branches. I don't want the user to have to manually activate each company every time they log in. They might forget because a client interested in an opportunity who registers with the service wants it to be visible to all branches. If you haven't activated all the branches, it will only appear and request the branch from the parent company, which is activated by default.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Knjigovodstvo
- Zaloga
- PoS
- Projekt
- MRP
This question has been flagged
Odoo’s multi‑company logic is designed so each user has a default company and can manually switch or activate others. There isn’t a built‑in option to “auto‑activate all companies” at login, because Odoo enforces company boundaries for security and data segregation.
If you want a sales rep to always see opportunities across all branches without toggling, you have two main approaches:
Access rights: Give the user access to all companies and configure their default company. They’ll still need to activate others if they want to work across them in the UI.
Customization: Extend the login/session logic so all companies are activated automatically for that user. This usually means overriding the res.users context or writing a small module that sets allowed_company_ids at login.
by default Odoo requires manual activation for multi‑company users. To bypass that, you’d need a small customization that auto‑loads all allowed companies into the user’s session or creating such access rights that cover your need about this matter.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
1
nov. 25
|
176 | ||
|
|
2
okt. 25
|
517 | ||
|
|
0
okt. 25
|
632 | ||
|
|
0
okt. 25
|
557 | ||
|
|
2
okt. 25
|
6636 |