| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/product-attribute |
| GIT | |
| GIT | https://github.com/OCA/product-attribute.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/product-attribute/tree/18.0/product_pricelist_discount_by_range |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-attribute |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:12 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - product - base - base_setup - web - bus - web_tour - html_editor - uom |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_supplier_item_form_view |
product.pricelist.item.form | product.pricelist.item | xpath | Inherits product.product_pricelist_item_form_view |
discount_range_ids
One2many → product.pricelist.item.discount_range
discount_type
Selection
default='simple'
args: [('simple', 'Simple'), ('range', 'By range')]
price_discount
Float
compute='_compute_price_discount'
readonly=False
store=True
No public methods.
max
Float
required=True
min
Float
required=True
percentage
Float
required=True
pricelist_item_id
Many2one → product.pricelist.item
ondelete='cascade'
string='Pricelist Item'
args: 'product.pricelist.item'
surcharge
Float
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/product-attribute |
| GIT | |
| GIT | https://github.com/OCA/product-attribute.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/product-attribute/tree/15.0/product_pricelist_discount_by_range |
| VERSION | |
| VERSION | 1.1.1 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Carlos Roca, Andrii9090-tecnativa |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-attribute |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:35 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_supplier_item_form_view |
product.pricelist.item.form | product.pricelist.item | xpath | Inherits product.product_pricelist_item_form_view |
discount_range_ids
One2many → product.pricelist.item.discount_range
discount_type
Selection
default='simple'
args: [('simple', 'Simple'), ('range', 'By range')]
price_discount
Float
compute='_compute_price_discount'
readonly=False
store=True
No public methods.
max
Float
required=True
min
Float
required=True
percentage
Float
required=True
pricelist_item_id
Many2one → product.pricelist.item
ondelete='cascade'
string='Pricelist Item'
args: 'product.pricelist.item'
surcharge
Float
No public methods.