OdooWiki OCA HUB

Ir View Multi Company

ir_ui_view_multi_company folder_open OCA/multi-company open_in_new
Uncategorised License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you restrict a custom view to specific companies in a multi-company database, so each company sees only the views meant for it.

This module adds a new 'Companies' field to views, so you can decide which companies a view applies to.

  • On the view form (Technical > User Interface > Views), a new 'Companies' field appears next to the view name. It is only visible to users who can work with multiple companies. You can leave it empty to make the view available to all companies, or select one or more companies to limit it.
  • When Odoo looks for inherited views to apply, it now only considers views that are either not linked to any company or linked to the company currently active for the user. This means a view dedicated to another company will not be applied.
  • The view cache is also made company-dependent, so the correct version of a screen is shown depending on the active company.

It touches the view model ir.ui.view and the base model, and adds a field on the view form. No new menus or reports are created.

Depends on

base
Models and fields (2)
  • base · extends an existing model
  • ir.ui.view · extends an existing modelcompany_ids (Companies)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/multi-company.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • 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.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.