| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 248 |
| Technical Name |
suite_inventory_access |
| License | LGPL-3 |
| Website | https://suitestate.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 248 |
| Technical Name |
suite_inventory_access |
| License | LGPL-3 |
| Website | https://suitestate.com |
Sales Stock Viewer
Read-only on-hand quantities by location for sales teams, without Inventory user rights
Keywords: sales stock viewer, stock visibility for sales, read-only stock access, sales warehouse access, on-hand for sales, stock by location, sales inventory access, warehouse viewer, sales stock access control, read only stock view, sales team stock, stock viewer without inventory, inventory access control, sales stock report, stock quantity for sales, sales rep stock check, warehouse stock read only, stock location access
The Problem
Native Odoo couples stock data visibility to the full Inventory User role. A sales rep who only needs to check on-hand quantities must be granted access to receipts, transfers, scrap, stocktake, and all other inventory operations. There is no way to give "read-only stock" access separately.
What This Module Does
Adds a Sales Stock Viewer group that grants read-only access to current on-hand quantities by location. No inventory operations are unlocked — no receipts, no transfers, no adjustments, no scrap.
Pure permission layer. No new models, no new database fields, no business logic changes. Safe to install and uninstall at any time.
How It Works
1. Enable the Group
A new Stock Visibility checkbox appears in the user form under the Sales section. Check it to grant the user read-only stock access.
The Stock Visibility toggle in user settings, under the Sales section. Enable it for any user who needs to check stock levels.
2. Stock View Menu
A new Stock View menu appears under Sales → Products. It shows a read-only list of current on-hand quantities grouped by location.
- Filtered to internal locations with positive on-hand by default
- Search by product, location, warehouse, lot, or owner
- Group by location, warehouse, product, owner, or lot
- Owner and Lot/Serial columns auto-hide when those features are not enabled in Odoo settings
- All views are read-only — no create, edit, or delete
The Stock View menu showing on-hand quantities by location. Sales users see quantities only — no cost, no valuation, no operational buttons.
3. On Hand Column on Product List
An On Hand quantity column is added to the product variants list view for users in the Stock Viewer group. This lets sales users see stock levels directly from the product catalog without navigating to a separate screen.
4. Per-User Location Restriction (Optional)
A new Accessible Locations field on the user form allows administrators to scope each user to a subset of stock locations. When left empty, the user sees all locations in their companies.
- Selecting a parent location automatically includes all child locations
- Enforced via record rules (not just view-level)
- System administrators are exempt
- Multi-company compatible
Permissions Summary
| Model | Read | Write | Create | Delete |
|---|---|---|---|---|
| stock.quant (on-hand quantities) | Yes | No | No | No |
| stock.location | Yes | No | No | No |
| stock.warehouse | Yes | No | No | No |
| stock.lot | Yes | No | No | No |
The group does not imply any other group. It is assigned alongside the user's existing Sales role. Users with the native Inventory User role already have full stock access and do not need this group.
Technical Notes
- Pure permission layer — adds one group, four ACL lines, two record rules, one computed column, and dedicated read-only views. No Python business logic.
- Safe to uninstall — removing the module reverts all permissions and menus instantly.
- No performance impact — group membership and record rules are standard Odoo security mechanisms.
- Multi-company compatible — record rules respect the user's company scope.
- Dependencies:
stock,sales_team(both native Odoo modules). - Compatibility: Odoo 19.0 Community and Enterprise.
License & Support
Released under the GNU Lesser General Public License v3
(LGPL-3.0-or-later). The full license text is included in the
LICENSE file shipped with the module.
Maintained by SuiteState (ElectroState FZCO).
For questions, bug reports, or feature requests, visit
suitestate.com or contact
hello@suitestate.com.
Please log in to comment on this module
There are no comments yet!