Product Pricelist Discount by Range
by Tecnativa https://github.com/OCA/product-attribute , Odoo Community Association (OCA) https://github.com/OCA/product-attribute| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 147 |
| Technical Name |
product_pricelist_discount_by_range |
| License | AGPL-3 |
| Website | https://github.com/OCA/product-attribute |
Product Pricelist Discount by Range

This module allows you to define discount ranges in a pricelist based on a reference price (e.g., cost). Instead of applying a single discount percentage to all products, you can configure different discount percentages for specific price intervals. If the reference price is out of the ranges, the pricelist will not be applied and Odoo will show a warning.
Table of contents
Configuration
To configure pricelists with the new feature of this module, you need to:
- Go to Sales > Configuration > Settings and check “Pricelists” option and “Advanced price rules (discounts, formulas)” after that. You must have correct permissions and you must install Sales Management app (sale) and Purchase app to see these settings.
- Create or edit a Sales Pricelist at Sales > Products > Pricelists.
- Add or edit a pricelist item and check “Formula” option in “Price Computation” section and set Discount Type to “By range”.
- You will see the new option “Discount Ranges”.
- Add discount ranges and save Pricelist.
Usage
For checking pricelists in action, you can (with sale module installed):
- Go to Sales > Orders > Quotations
- Create or edit a quotation.
- Select a correct pricelist (with discount ranges).
- Add a line.
- Select a product with the criteria to match the pricelist.
- See the proper price appears in the line.
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
Authors
- Tecnativa
Contributors
- Tecnativa:
- Andrii Kompaniiets
- Pedro M. Baeza
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.
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module