| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 125 |
| Technical Name |
pos_access_restriction |
| License | LGPL-3 |
| Website | https://github.com/udaykiran712 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 125 |
| Technical Name |
pos_access_restriction |
| License | LGPL-3 |
| Website | https://github.com/udaykiran712 |
POS User Access Restriction (Odoo 18)
Strictly bind standard POS users to their assigned shops. Ensure complete data privacy across orders, payments, and reports.
Why You Need This Module
By default, granting a user 'POS User' access in Odoo allows them to view every Point of Sale configuration, access any active register session, and browse company-wide orders and payment history. For business owners managing multiple locations, branches, or franchises, this is a major security flaw. This module completely isolates user access down to the specific shops they are authorized to manage.
How It Works
1. Dynamic User Configuration
- A dedicated Point of Sale tab automatically appears on the User form.
- To keep the UI clean, this tab is only visible when the user is explicitly granted at least 'User' or 'Administrator' rights for the POS app.
- Administrators can select one or multiple POS centers to assign directly to the employee.
2. Intelligent Multi-Company Filtering
- The assignment field intelligently respects Odoo's multi-company environment.
- When an admin assigns a POS center, the dropdown strictly filters and only displays POS centers belonging to the Allowed Companies selected in the user's main environment settings.
- This prevents accidental cross-company data leakage during configuration.
3. Ironclad Record Security
- POS Dashboard: Unassigned POS centers vanish from the user's dashboard view entirely.
- Order Isolation: Users can only view backend POS orders processed through their specifically assigned shops.
- Payment Privacy: Financial payment records are strictly filtered; users cannot see payments made at other branches.
- Secure Analytics: Odoo's reporting engines dynamically adapt, ensuring sales metrics from unauthorized branches remain completely hidden from standard users.
Please log in to comment on this module