Skip to Content

Field-level permissions in Odoo: beyond access rights and record rules

November 11, 2026 by
WolfSaddle

A salesperson needs to open a product and quote the price. They should not see the cost, or the margin. Someone in HR needs the employee record. They should not see the salary. Those are field problems, not record problems: the person is allowed to open the record, and a few values on it still have to stay out of reach.

Odoo already has tools for this. They work, up to a point. This post covers what those tools actually do, where they start to feel thin, and how to design a field-level policy you can show to a controller.

What standard Odoo already does

Three built-in layers come into play.

Access rights. These decide whether a group can create, read, write, or delete records of a whole model. If salespeople can open products, they can open the product. Cost is still there unless something else hides it.

Record rules. These decide which records a group can see or change. A salesperson might see only their own orders. Record rules do not hide a field on a record they are already allowed to open.

Field groups, in Studio or in code. This is the built-in field-level tool. You name the groups that are allowed to see a field. Everyone else does not. In Odoo Studio (Enterprise), that setting is called "Limit visibility to groups." In code, it is the groups attribute on the field.

When groups is set on the field definition itself, Odoo also withholds the value from exports and the API. When it is set only on one view, the field can still show up in a list, a report, or an export. That distinction is where a lot of "we hid the cost" work later fails a review.

Where the built-in tools fall short

The built-in model is an allow-list: you name who can see the field, not who should be kept out. Nested groups make that awkward. In Odoo, Sales / Administrator includes Sales / User: Own Documents Only, so a rule aimed at salespeople can also hit the sales manager unless you plan for the overlap.

Studio is part of Enterprise. On Community, changing a field or a view means a developer and a customization you have to maintain. Even then, a hide or a read-only flag that lives only on the form does not stop a determined export, a filter, or an API read.

A few common policies are also a poor fit for a simple groups attribute: hide the value from one named person, apply it only in one company, or lock a field only after a quotation is confirmed, while leaving it editable on drafts. And there is no built-in way to preview what a specific user will see without signing in as them, and no audit log of who changed the restriction.

Design the policy on paper first

Before editing views or installing anything, write the rules the way you would explain them to a new administrator.

1. Hide versus read-only. Hide means the person should not have the value at all: cost, margin, salary. Read-only means they can see it and must not change it: payment terms, a credit limit, a customer reference on a confirmed order.

2. Who it applies to. A group, named people, or everyone except a few exempt roles. Write down exclusions for managers whose group already includes the lower-level group.

3. Every place the value appears. Cost on the product template is a different field from cost on the product variant. Margin on a sales order is another field again. List each one, including lists, exports, and any related form.

4. Exports and the API, not just the form. If the value must not leave the database, the restriction has to hold for reads, searches, exports, filters, sorting, and grouping, not only the form layout.

5. Conditions, if any. "Lock this once the order is confirmed" is a different rule from "never show this." If you hide a field only when a condition matches, treat that as a screen change unless you have confirmed it is also enforced on exports and the API.

6. Tracked fields, chatter, and who can bypass. If a field is logged on the record, earlier values can still appear in the chatter after you hide it on the form. Say which role can always see everything, so someone can fix a bad rule, and keep security fields (login, password, groups) off the list of things anyone can lock.

Make it usable day to day

A policy that only exists as a pile of view customizations is hard to review six months later. Day-to-day, people need one place to see the rules, a way to preview what a person would see without signing in as them, and a log of who changed a restriction. Build the rules on a copy of the database, then move them to production once a dry run looks right. If a field is renamed or removed in an upgrade, the rest of the policy should keep working, and the broken rule should be obvious, not silent.

A short checklist before you go live

Before you turn on field-level restrictions:

  • ☐ Each sensitive field listed, including related forms (for example, product cost and variant cost)
  • ☐ Hide or read-only chosen for each field, with a reason
  • ☐ Audience written down, including exclusions for nested groups
  • ☐ Exports, searches, and the API considered, not only the form
  • ☐ Conditional rules reviewed: a hide with a condition may be on-screen only
  • ☐ Tracked fields checked for chatter history
  • ☐ Bypass role agreed, and security fields left untouched
  • ☐ Previewed as the restricted user on a copy of the database
  • ☐ A test export run by that user, to confirm the field is absent when it should be

Where WolfSaddle fits

We built our Field-Level Permissions app for Odoo 19 Community to cover this kind of policy without writing code or editing views: hide or read-only rules for groups, specific users, or everyone except exempt groups, with excluded groups and optional companies; checks on the server for reads, searches, exports, filters, sorting, and grouping; conditional read-only; View as User; an audit log of rule changes; and JSON import and export with a dry run. Rules are stored by technical name, so an upgrade does not delete them; if a field disappears, the rule is marked Broken and the rest keep working. A hidden rule with a condition changes the screen only, so leave the condition empty when the value must stay out of exports and the API. Settings users always bypass every rule. Chatter can still show a tracked field's earlier values, and portal pages and reports aren't covered.

Questions? Email support@wolfsaddle.com.

This post is general information, not accounting or legal advice. Odoo is a trademark of Odoo S.A.

Purchase order approval thresholds in Odoo: beyond one manager sign-off