Company-Specific Dynamic Field Visibility Extra Tools

Company-Specific Dynamic Field Visibility

Securely hide specific model fields per company without manual XML inheritance

Odoo 18.0 Odoo 19.0
Company-Specific Dynamic Field Visibility for Odoo

Company-Specific Dynamic Field Visibility

Take full control of your Odoo data presentation. This module allows administrators to

dynamically hide any field from any model based on the active company, ensuring a

cleaner UI and better data privacy across multi-company environments.

Unlike standard UI hacks, this module works at the server level, modifying the view

architecture before it reaches the browser, making fields truly invisible in the DOM.

----------------------------------------

Key Features

Dynamic Configuration

Configure visibility rules directly from the Company form view without touching any code.

Multi-Company Support

Hide fields like 'Cost Price' in Company A while keeping it visible in Company B.

Server-Side Security

Fields are injected with `invisible` attributes at the view level, ensuring they are not rendered in the browser DOM.

Universal Compatibility

Works across Form, List (Tree), and Kanban views globally.

Smart Create Mode

Automatically shows fields during record creation so users can fill in required data, then hides them on existing records.

Relational Selection

Easy-to-use Many2one model selection and Many2many field selection for error-free setup.

----------------------------------------

Benefits

  • Enhanced Security: Prevent sensitive information from being inspected in the browser.
  • Improved UX: Reduce clutter by hiding unnecessary fields for specific companies.
  • No Coding Required: Eliminate the need for custom inherited XML views for simple field hiding.
  • High Performance: Optimized with company-aware view caching.

----------------------------------------

⚙ Technical Highlights

  • Patches `get_view` at the base level for ultimate reliability.
  • Intelligent parent wrapper hiding (hides labels and divs if the field inside is hidden).
  • Company-specific view cache keys to prevent cross-company data leakage.

----------------------------------------

⚠️ Important Note

*This module dynamically modifies the view architecture. If a field has a hardcoded, complex Python expression in its `invisible` attribute in the original XML view, this module may be overridden by that expression depending on the Odoo version and view logic.*

----------------------------------------

Ideal For

  • Large multi-company organizations.
  • Odoo instances with sensitive financial or technical data fields.
  • Administrators who want to simplify complex views per company.

----------------------------------------

Keywords (SEO Boost)

odoo field visibility, hide field per company, dynamic field visibility odoo,

odoo multi company security, invisible fields odoo, odoo ui customization,

secure odoo fields, dynamic view modification odoo

----------------------------------------

▶ See it in action

Company-Specific Dynamic Field Visibility demo animation

Need a custom Odoo module?

We build tailored Odoo apps and customizations for your exact workflow. Tell us what you need and get a free consultation.