Lock price or discount edition depending on pricelist items
Project description
Sale line locking by pricelist
This module allows to lock price edition based on the applied pricelist rule scope.
Table of contents
Use Cases / Context
Sometimes we want to avoid that salesmen are able to modify prices that are fixed and negociated with the customer in advance.
Configuration
In order to configure the prices lock scope, go to the pricelist you want to configure or create a new one from Sales > Products > Pricelists.
Now, in the Configuration tab, you can set the scope on the field *Lock product prices applied on. The possible options are:
All products: any rule will lock the price. Very restrictive.
Product category: all the rules applied on product category, product or variants will lock the price.
Product: all the rules applied on product or variants will lock the price.
Product variant: only the rules applied on variants will lock the price.
For this example, we’ll choose the Product scope.
Then, in the price rules, we’ll add a fixed price of 80 to be applied on the product FURN_5555. Save and close and go to the Usage section to test it in the sales order.
Usage
To use this module, you need to log in as a salesman (i.e.: demo user), as sales manager won’t be locked. Then:
Create a new sales order.
Chose the pricelist we configured before.
Add the product FURN_5555: you’ll see that the price unit is locked.
Add another product: the price unit can be edited for that line.
Change the pricelist: now you can edit the price for FURN_5555 again.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/sale-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_sale_order_line_price_lock_by_pricelist-18.0.1.0.1-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_sale_order_line_price_lock_by_pricelist-18.0.1.0.1-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd18d9d609431f754574b3100de816e21fbd9fa685d641b5eed517d722b2b79b
|
|
| MD5 |
f3e2856014d014de512d489e3b19bc51
|
|
| BLAKE2b-256 |
d582eac0804991514b7ca44fde2181c4c3cedc30be02b9362eddd8a3769cb42c
|