| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Lines of code | 33 |
| Technical Name |
sale_pricelist_restriction |
| License | LGPL-3 |
| Website | http://yuab.odoo@gmail.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Lines of code | 33 |
| Technical Name |
sale_pricelist_restriction |
| License | LGPL-3 |
| Website | http://yuab.odoo@gmail.com |
| Versions | 17.0 18.0 19.0 |
Sale Pricelist Restriction
Lock pricelist changes on Sale Orders behind a per-user permission — only users explicitly granted access may override the customer's assigned pricelist.
Odoo 17Enterprise Community
Overview
This module prevents unauthorized pricelist changes on Sale Orders. By default, all sales users are restricted from overriding the pricelist assigned to a customer. Access is granted individually via the Change Pricelist on Sale Orders permission on each user's profile, giving managers precise control over who can adjust pricing. Website, public, and system contexts are always permitted through automatically.
Key Features
Per-User Permission
The Change Pricelist on Sale Orders permission on the user's profile grants or revokes the ability to override the pricelist on a sale order
Create & Write Protected
The restriction is enforced on both order creation and subsequent edits
Website & System Safe
Public users, website context, and automated system processes are always allowed through without restriction
Partner Default Enforced
On order creation, the pricelist must match the partner's configured default unless the user holds the Change Pricelist on Sale Orders permission
How It Works
| 1 | Navigate to Settings → Users & Companies → Users, open a user's form, and go to the Sales tab |
| 2 | Enable the Change Pricelist on Sale Orders permission to grant that user access to override pricelists on sale orders |
| 3 | Users without the Change Pricelist on Sale Orders permission will have the pricelist field locked to the customer's assigned default |
| 4 | Any attempt to set a different pricelist without the permission raises a clear Access Error |
Screenshots
Pricelist Settings
Access Warning
Installation
| 1 | Copy this module to your Odoo 17 addons directory |
| 2 | Update the apps list |
| 3 | Install Sale Pricelist Restriction from the Apps menu |
Developed by Yunus Abdulaziz — yuab.odoo@gmail.com
Licensed under LGPL-3
Please log in to comment on this module