POS Barcode-Only Adding Product Restriction Rule Based
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse
Odoo
$ 40.00
In-App Purchases| 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 | 17 |
| Technical Name |
pos_disable_add_manually |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
| 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 | 17 |
| Technical Name |
pos_disable_add_manually |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
POS Barcode-Only Adding Product To Cart Restriction Rule Based
Enforce barcode scanning to adding product to cart for regular employees (Basic Rights) while allowing employee manager (Advanced Rights) manual adding product in Point of Sale
Key Features
- Restrict manual product addition for regular employees
- Manager override capability for manual product additions
- Enforce barcode scanning for all non-manager employees
- Role-based access control integrated with Odoo POS
- Prevent accidental or unauthorized product additions
- Clear error messages for manual addition attempts
- Seamless integration with existing POS workflows
- Odoo Community and Enterprise Edition Compatible
How It Works
The module provides intelligent role-based product addition controls in the Point of Sale:
- Regular Employees: Can only add products via barcode scanning - manual clicks are restricted
- Managers: Have full access to add products both manually and via barcode scanning
- Automatic Role Detection: System automatically detects user role from Odoo POS configuration
- Clear User Feedback: Informative error messages guide regular employees to use barcode scanning
- No Configuration Needed: Works immediately after installation with existing user roles
- Backward Compatible: All existing POS features remain functional for all users
User Role Matrix
Manager Role
- Add products by clicking
- Add products via barcode
- Full manual product access
- No restrictions applied
Regular Employee
- Cannot add products by clicking
- Add products via barcode only
- Manual addition restricted
Module Screenshots
When regular employees attempt to add products manually, they see this clear restriction message:






Managers enjoy full access to both manual and barcode product addition:



Use Cases
Multi-Level Retail
Different access levels for cashiers vs managers in retail environments
Warehouse Security
Ensure accurate stock tracking while allowing supervisor overrides
Role-Based Security
Granular control over who can manually add products to orders
Inventory Control
Maintain inventory accuracy with employee restrictions and manager oversight
Training & Compliance
Enforce proper procedures while allowing experienced staff flexibility
Multi-Location Management
Consistent product entry policies across stores with local manager control
Do You Need Assistance or Have a Feature Request?
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