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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_ir_ui_view_multi_company-18.0.1.0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7c86ea2cfc33bc104dde10c19210740dc9c539ba38e7b3205e123f2580f511e2
MD5 98ac12e2f255afa7cd4fc953958d15e3
BLAKE2b-256 7edd85c49b175fd3043eb84f9c1b707a0f2dae8017e7cc200fc584e93729ea8e

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