This module allows companies operating in a multi-company environment to define custom views for specific companies.
Project description
Ir View Multi Company
This module allows companies operating in a multi-company environment to define custom views for specific companies. It extends the view model by introducing a company_ids field, allowing views to be dedicated to specific companies.
Table of contents
Use Cases / Context
In complex multi-company environments, it is common for different companies to require personalized views for the same model. Examples include:
Different workflows or business processes.
Variations in required fields or field ordering.
Regulatory or organizational differences between subsidiaries.
Previously, these needs were often addressed by assigning views to security groups using the groups_id attribute. However, this is no longer supported.
The ir_ui_view_multi_company module resolves this limitation by introducing a dedicated company_ids field on views, ensuring that views are only applied when the user is operating under the matching company context.
Configuration
Enable the multi-company feature in your Odoo instance.
To dedicate a view to a specific company:
Go to the technical menu: Settings > Technical > User Interface > Views.
Edit or create a view.
Set the Company field to the desired company.
The domain operator used to filter inheriting views by company (=, parent_of, child_of, etc.) can be easily customized by overriding the _inheriting_views_domain_company_operator class attribute.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Souheil Bejaoui souheil.bejaoui@acsone.eu (ACSONE SA/NV)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/multi-company project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_ir_ui_view_multi_company-18.0.1.0.0.4-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_ir_ui_view_multi_company-18.0.1.0.0.4-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f244e07b5e566b7b3955da3767a30810387dc2961bd079d7fff1e47d77555a9a
|
|
| MD5 |
71d5f38717e2dc6ad2dc151f90b93c2e
|
|
| BLAKE2b-256 |
fdbb565a7d7affb9f93eb8367303e8b9df8189ec53d2d2836ee56be3b5708921
|