Skip to main content

This module allows companies operating in a multi-company environment to define custom views for specific companies.

Project description

Odoo Community Association

Ir View Multi Company

Beta License: AGPL-3 OCA/multi-company Translate me on Weblate Try me on Runboat

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

  1. Enable the multi-company feature in your Odoo instance.

  2. 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

Authors

  • ACSONE SA/NV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_ir_ui_view_multi_company-18.0.1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_ir_ui_view_multi_company-18.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85e1fd959f4b49ba8b18dd17f7b10e8eb99939b1056eac4b3deecb19060fffd1
MD5 269af0a7809aafa6ab28921ab0df93c7
BLAKE2b-256 174de80f9614e65e4344768d884ce1ec76e0b4672892cb0a842e85b39b63f9ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page