TIP: You can type at any time to perform a new search.
Product Pricelist Discount by Range
product_pricelist_discount_by_range · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_supplier_item_form_view |
product.pricelist.item.form | product.pricelist.item | form | Inherits product.product_pricelist_item_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (3)
-
discount_range_idsOne2many → product.pricelist.item.discount_rangeargs: 'product.pricelist.item.discount_range', 'pricelist_item_id' -
discount_typeSelectiondefault='simple' args: [('simple', 'Simple'), ('range', 'By range')] -
price_discountFloatcompute='_compute_price_discount'readonly=Falsestore=True
No public methods.
New fields (5)
-
maxFloatrequired=True -
minFloatrequired=True -
percentageFloatrequired=True -
pricelist_item_idMany2one → product.pricelist.itemondelete='cascade'string='Pricelist Item' args: 'product.pricelist.item' -
surchargeFloat
No public methods.
Loading…