All-in-One Record Restrictions for Odoo

Journal restriction, warehouse restriction, location restriction, product restriction and customer restriction per user

What All-in-One Record Restrictions does

One profile per user or group decides which journals, payment methods, warehouses, locations, operation types, points of sale, product categories, analytic accounts and customers they may see and use. Enforced as record rules on the server, with a test-as-user preview and an audit log.

One place per user or group to restrict which journals, payment methods, warehouses, stock locations, operation types, points of sale, product categories, analytic accounts and customers they can see and use, enforced as record rules, with a test-as-user preview and an audit log.

  • Journals
  • Warehouses
  • Locations
  • Products
  • Customers
  • Point of Sale

Features

  • Journal restriction

    Allowed journals per profile. Entries, journal items, payments and bank statements of other journals are hidden and cannot be created, edited or posted.

  • Payment methods and analytic accounts

    Only the allowed payment methods can be picked on payments; only the allowed analytic accounts in distributions, reports and analytic items.

  • Warehouse restriction

    Allowed warehouses give their locations and operation types. Transfers, stock moves, on-hand quantities and reordering rules of other warehouses disappear.

  • Location and operation type restriction

    Narrow a user to single locations (sub-locations included) or single operations such as receipts only. Vendor, customer and virtual locations stay usable.

  • Product restriction

    Allowed product categories, sub-categories included, plus single products. New sub-categories are covered at once.

  • Customer restriction

    Own customers only, or the customers of the own sales team, with or without contacts that have no salesperson. Internal users and your companies stay visible.

  • Point of sale restriction

    Each cashier sees only their own shop: other points of sale, sessions, orders and POS payments are hidden.

  • Users or groups

    A profile applies to chosen users, to every member of chosen groups, or both. Several profiles merge per area.

  • Real record rules

    Every restriction is a record rule on the server: lists, search, many2one selection, import, export, API and direct links all respect it.

  • Multi-company

    Limit a profile to some companies: records of the other companies are left alone, so one user can be restricted in one company only.

  • Test as user

    Pick a user and see what they would see, area by area: visible against total records, the allowed names and the applied domain.

  • Audit log

    Every profile created, changed, archived or deleted is logged with who, when and exactly what changed.

  • Safe by default

    Installing changes nothing. Administrators, the superuser and a "Bypass Record Restrictions" group are never restricted.

  • Fast on large databases

    Restrictions are plain indexed SQL conditions, computed once per user and cached. No Python runs per record.

  • 1. Profile

    Name a profile and pick the users and groups it applies to.

Before and after

Without the app

  • Every invoicing user sees and posts to every journal, bank included
  • Depot staff see and validate transfers of every warehouse
  • Sales reps browse all customers and the full catalogue
  • Cashiers can open any shop's register
  • Restricting means writing record rules by hand, per model, per user

With All-in-One Record Restrictions

  • One profile per team: journals, warehouses, shops, categories, customers
  • Forbidden records cannot be read, searched, selected or posted to
  • Profiles for groups, merged per area, limited to some companies if needed
  • Test as User shows what a user will see before they log in
  • Every change logged; administrators never locked out

How it works, step by step

  1. 01Restriction profiles

    Settings, Users & Companies, Record Restrictions. One line per profile: who it applies to and what it restricts, in plain words.

    All-in-One Record Restrictions: Restriction profiles
  2. 02Journal restriction

    The front desk cashier may use the Sales journal and the Front Desk Cash journal, one payment method and two analytic accounts. Everything else in accounting is out of reach.

    All-in-One Record Restrictions: Journal restriction
  3. 03Warehouse and location restriction

    The Riverside Depot team gets one warehouse: its locations and operation types come with it. Add single locations or operation types when you need finer control.

    All-in-One Record Restrictions: Warehouse and location restriction
  4. 04Product restriction

    The furniture catalogue profile limits a sales rep to the Furniture category and its sub-categories.

  5. 05Customer restriction

    Field sales see their own customers only. Choose Own sales team to include the customers of the colleagues in the same sales team.

  6. 06Point of sale restriction

    Shop staff see one point of sale. Sessions, orders and payments of the other shops are hidden.

  7. 07Test as user: the cashier

    Test as User shows, per area, how many records the cashier sees against the total, with the allowed names. Restricted areas come first.

  8. 08What the cashier sees

    Logged in as the cashier: the accounting dashboard shows the two allowed journals only. The bank and the other journals cannot be opened, searched or selected.

  9. 09Test as user: the depot team

    One warehouse of two, and only its locations and operation types, checked before the user ever logs in.

  10. 10What the depot team sees

    The inventory overview of the depot user lists the Riverside Depot operations only. Transfers of the main warehouse cannot be opened or validated.

  11. 11Own customers only

    The field sales rep sees the four customers she looks after and your own companies. Other customers do not show up in lists, search or quotations.

  12. 12One shop per cashier

    The shop user sees one of the three points of sale and can open only that register.

Questions about All-in-One Record Restrictions

Is this just hiding menus?

No. Every restriction is a record rule enforced by the Odoo server. A restricted user cannot read, search, select in a many2one field, import, export or post to a forbidden journal, warehouse or shop, also not through the API or a direct link.

Does installing it change anything for my users?

No. Until you create a profile nobody is restricted. Administrators, the superuser and members of the "Bypass Record Restrictions" group are never restricted, even when a profile names them.

What happens when two profiles apply to one user?

They merge per area: the allowed journals (or warehouses, shops, categories) of all profiles that restrict that area are added together. A profile that does not restrict an area leaves it to the others.

What if I switch an area on and select nothing?

Then the user sees nothing in that area. This is on purpose, so a profile never opens everything by mistake.

How does the company scope work?

A profile limited to some companies restricts only the records of those companies (and records shared by all companies). In the other companies the user works as before.

Will it slow down a large database?

No. The restriction is a plain SQL condition on indexed columns, computed once per user and cached. On a test database with 6,000 stock moves the first page of a restricted user's move list took about 2 ms.

Which apps do I need?

Product and customer restrictions work with the base app. Journal, payment method and analytic restrictions need Invoicing or Accounting, warehouse restrictions need Inventory, shop restrictions need Point of Sale. The matching free bridge installs itself automatically.

How is it different from Access Management?

Access Management hides menus, buttons, fields and tabs, makes users read-only and filters the records of any model by a domain. Record Restrictions gives ready-made restrictions for journals, warehouses, locations, shops, products and customers. They work side by side: hide the Bank menu with one, and keep bank entries out of reach with the other.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.