TIP: You can type at any time to perform a new search.
Product Pricelist Alternative
product_pricelist_alternative · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Product
- 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
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Vincent Van Rossem, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
It allows you to define alternative price lists to a reference price list. As a general rule, the price of a given product is obtained from the minimum between its reference price list and the alternative price lists. However, if the product's reference price has been calculated on the basis of a price rule in which the "Alternative Pricelist Policy = Ignore" field is selected, the alternative price lists will not be taken into account.
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_item_tree_view_from_product |
product.pricelist.item.list | product.pricelist.item | list | Inherits product.product_pricelist_item_tree_view_from_product |
product_pricelist_item_view_form |
product.pricelist.item.form | product.pricelist.item | form | Inherits product.product_pricelist_item_form_view |
product_pricelist_item_view_tree |
product.pricelist.item.list | product.pricelist.item | list | Inherits product.product_pricelist_item_tree_view |
product_pricelist_view |
product.pricelist.form | product.pricelist | form | Inherits product.product_pricelist_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (3)
-
alternative_pricelist_idsMany2many → product.pricelistcolumn1='origin_id'column2='alternative_id'comodel_name='product.pricelist'domain="[('id', '!=', id)]"relation='product_pricelist_alternative_rel'string='Alternative pricelists' -
is_alternative_to_pricelist_countIntegercompute='_compute_is_alternative_to_pricelist_count' -
is_alternative_to_pricelist_idsMany2many → product.pricelistcolumn1='alternative_id'column2='origin_id'comodel_name='product.pricelist'relation='product_pricelist_alternative_rel'string='Is alternative to pricelists'
-
action_view_is_alternative_to_pricelist(self)
New fields (1)
-
alternative_pricelist_policySelectiondefault='use_lower_price'required=Trueselection=[('use_lower_price', 'Use lower price'), ('ignore', 'Ignore alternatives')]
No public methods.
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 100 days ago
- Last activity
- 56 days ago
- Repository
- OCA/product-attribute
- Pull request
- [19.0][MIG] product_pricelist_alternative: Migration to 19.0 (#2294)