Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Security
  3. All-in-One Record Restrictions: Journal Restriction, Warehouse Restriction, Location Restriction, Product Restriction, Customer Restriction per User v 19.0
  4. Sales Conditions FAQ

All-in-One Record Restrictions: Journal Restriction, Warehouse Restriction, Location Restriction, Product Restriction, Customer Restriction per User

by Viyug Infotech https://viyuginfotech.com
Odoo

$ 31.78

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Record Restrictions

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

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.

Journals Warehouses Locations Products Customers Point of Sale

9 areas
in one place
Users or groups
merged per area
Test as user
before anyone logs in

Free setup call with every purchase

After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).

Before and after

For companies where not everybody should see or use every journal, warehouse, shop, product or customer.

Before

  • 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

After

  • 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

What you get

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.

How it works

1. Profile

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

2. Allowed records

Switch on the areas and pick what may be used; leave the rest alone.

3. Record rules

The rules compute each user's allowed records once and cache them; the server filters every query.

4. Check

Test as User and the audit log show what each user sees and who changed what.

How it compares

FeatureThis appTypical alternatives
Journals, payment methods, analytic accounts, warehouses, locations, operation types, POS, products, customersAll in one appOne paid app per area
Restrict groups as well as single usersYesUsually users only
Enforced on the server (search, many2one, import, API)Yes, as record rulesOften domain on the field only
Journal entries, payments and statements of other journals hiddenYesJournal list only
Transfers, moves, on-hand and reordering rules of other warehouses hiddenYesPartly
Own sales team as customer scopeYesOwn customers only
Company scope per profileYesNo
Test as user previewYesNo
Audit log of restriction changesYesNo
Nothing restricted until configured; admin and bypass group never restrictedYesVaries

Setup in 5 steps

1

Install

Install Record Restrictions. The free Accounting, Inventory and Point of Sale bridges install themselves when those apps are present. Nothing is restricted yet.

2

Create a profile

Settings, Users & Companies, Record Restrictions: name the profile and pick users or groups.

3

Pick what they may use

Switch on the areas you need and select the allowed journals, warehouses, shops, categories or customer scope.

4

Test as user

Open Test as User and check the counts and names before telling the team.

5

Review

Use the users overview and the audit log to keep restrictions tidy over time.

Workflow walkthrough

Fictional company and users: a cashier, a depot team, a field sales rep and shop staff.

1

Restriction profiles

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

Restriction profiles
2

Journal 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.

Journal restriction
3

Warehouse 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.

Warehouse and location restriction
4

Product restriction

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

Product restriction
5

Customer restriction

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

Customer restriction
6

Point of sale restriction

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

Point of sale restriction
7

Test 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.

Test as user: the cashier
8

What 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.

What the cashier sees
9

Test as user: the depot team

One warehouse of two, seven of sixteen locations and four of eight operation types: checked before the user ever logs in.

Test as user: the depot team
10

What 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.

What the depot team sees
11

Own 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.

Own customers only
12

One shop per cashier

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

One shop per cashier
13

Users and their restrictions

Every internal user with the profiles that apply and a one-line summary. Administrators are marked as never restricted.

Users and their restrictions
14

Audit log

Who created or changed which profile, when, and exactly what: users added, journals removed, switches turned on or off.

Audit log
15

Real record rules

Each restricted area is a record rule you can see in Settings, Technical. The domain is computed per user and cached, so it costs nothing per record.

Real record rules

Questions

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.

Free bridges

Installed automatically when the matching Odoo app is present. Add them to your purchase at no extra cost.

Accounting bridge (free)

Journal restriction, payment methods and analytic accounts. Installs itself with Invoicing or Accounting.

View in the store

Inventory bridge (free)

Warehouse, location and operation type restriction. Installs itself with Inventory.

View in the store

Point of Sale bridge (free)

One shop per cashier: points of sale, sessions, orders and payments. Installs itself with Point of Sale.

View in the store

Works well with

Other Viyug Infotech apps for access control. Access Management is the companion for menus, buttons, fields and read-only users.

Access Management

The companion app: access rights per user or group to hide menus, fields, buttons and tabs, read-only users, record access and sign-in rules, with preview as user and an audit log.

View in the store

Access Guard: Segregation of Duties

Conflicting functions, a user risk matrix, firefighter access and access reviews.

View in the store

Access Role Templates

Named roles that bundle groups, temporary access and bulk assignment.

View in the store

Need a hand?

Questions about your teams, warehouses or journals, or a special case? Write to us and Viyug Infotech will get back to you.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 803
Technical Name viyug_record_restrict
LicenseOPL-1
Websitehttps://viyuginfotech.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with