| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 83 |
| Technical Name |
bs_multi_company_default |
| License | LGPL-3 |
| Website | https://erp-23.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 83 |
| Technical Name |
bs_multi_company_default |
| License | LGPL-3 |
| Website | https://erp-23.com |
Multi-Company Default Selection
Let users opt in to having all their allowed companies automatically activated on every login — without touching Odoo's core multi-company behaviour.
Overview
In a multi-company Odoo setup, users with access to several companies are typically logged in with only their primary company active. Switching to all companies requires a manual click on the company switcher every session.
Multi-Company Default Selection eliminates that friction. Users who routinely need all their companies active simply enable one checkbox in their Preferences. From that point on, every login automatically activates all their allowed companies — and they can still switch or deselect companies freely within the session.
Screenshots
User Preferences — “Select All Companies by Default” checkbox
✓ What It Does
- Adds a Select All Companies by Default checkbox to each user’s Preferences tab
- On fresh login, activates all allowed companies for that user
- Primary company remains first in the selection
- Session-flag prevents re-triggering on page reload
- Completely opt-in — each user chooses independently
- Users with only one company are silently skipped
⊗ What It Does NOT Do
- Does not force all companies on users who haven’t opted in
- Does not reset company selection mid-session on navigation
- Does not modify Odoo’s access rights or security rules
- Does not affect single-company users
- Does not require any server restart after toggling the preference
Installation
- Download the module from the Odoo App Store.
- Place the
bs_multi_company_defaultfolder in your Odoo addons directory. - Restart the Odoo server.
- Go to Settings → Apps, search for Multi-Company Default Selection, and click Install.
- Each user can now go to their Preferences and enable Select All Companies by Default.
- On the next login, all their allowed companies will be activated automatically.
Technical Details
res.users and overrides session_info() only
SELF_WRITEABLE_FIELDS — users manage their own preference without admin rights
Support & Contact
We’re here to help — reach out via any channel below.
© 2025 ERP23 — a product of BrainStation-23. Released under LGPL-3. Compatible with Odoo 18.0.
Please log in to comment on this module