| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 57 |
| Technical Name |
hst_auto_company |
| License | LGPL-3 |
| Website | https://www.hsxtech.net |
Auto-Select All Companies
Description
Enterprise
A lightweight Odoo module that automatically selects all your allowed companies as soon as you log in. With this module installed, a single checkbox in General Settings controls whether every company you have access to gets selected for you right away, instead of starting with just your default company.
This module integrates seamlessly with Odoo's native company switcher and only runs once on page load, so there's no extra performance overhead. Simply enable the setting, and the behavior applies automatically from your next login.
Features
- → Adds a checkbox in General Settings under the Companies section
- → When enabled, all allowed companies are auto-selected as soon as you log in
- → When disabled, Odoo behaves normally, only your default company is selected
- → Works seamlessly with Odoo's native company switcher
- → Lightweight, runs once on page load with no performance impact
How It Works
| Step | Description |
|---|---|
| 1. Open Settings | Go to Settings > General Settings, and find the Companies section |
| 2. Enable the Checkbox | Turn on "Auto-Select All Companies" |
| 3. Save | Save your settings |
| 4. Log In | Next time you log in, all your allowed companies are automatically selected |
| 5. Disable Anytime | Turn the checkbox off to go back to Odoo's normal single-company default |
Configuration Options
| Option | Default | Description |
|---|---|---|
| Auto-Select All Companies | Disabled | When enabled, every company you have access to gets automatically selected on login, instead of just your default one |
Screenshots
In Settings > General Settings, the "Auto-Select All Companies" checkbox now appears in the Companies section, right next to other company-related options.
Once enabled, logging in automatically checks every company in the switcher, here My Company, Company 2, and Company 3 are all pre-selected without any manual clicking.
Services
Please log in to comment on this module