User Preferred Companies Auto Switch
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse
Odoo
$ 15.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 59 |
| Technical Name |
preferred_user_companies |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 59 |
| Technical Name |
preferred_user_companies |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
Preferred Companies Auto Switch
Automatically load user preferred companies at login for a seamless multi-company experience
Key Features
- Define preferred companies per user
- Automatically switch to preferred companies on login
- Eliminates manual company switching
- Fully compatible with Odoo multi-company architecture
- Lightweight backend and frontend implementation
- No impact on existing security or access rules
- Compatible with Odoo Community & Enterprise
Configuration Settings
Preferred companies can be configured from the user form:
- Preferred Companies: Select one or more companies using tags
- Domain Restriction: Only companies assigned to the user can be selected
- No Create / No Open: Prevents accidental company creation or editing
How It Works
- Frontend company service reads preferred companies at startup
- If only the default company is active, the system auto-switches to preferred companies
- User lands directly in the correct multi-company context after login
Module Screenshots



Use Cases
Multi-Company Users
Users working across multiple companies start with the correct context automatically
Time Optimization
Eliminate repetitive manual company switching after every login
Controlled Access
Preferred companies respect user company assignments and access rights
Do You Need Assistance or Custom Enhancements?
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module