TIP: You can type at any time to perform a new search.
Sale line locking by pricelist
sale_order_line_price_lock_by_pricelist · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Sales Management
- Folder size
- 0.05 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- Odoo Community Association (OCA), Moduon
- Maintainers
- Odoo Community Association (OCA), Moduon
- Committers
- David Vidal, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows to lock price edition based on the applied pricelist rule scope.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_view |
product.pricelist | Inherits product.product_pricelist_view | ||
view_order_form |
sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (1)
-
lock_product_prices_applied_onSelectionhelp='Avoid that salesmen change prices based on this scope. Rules applied on base pricelist take into account the items of those pricelists with the rule of the pricelist applied on the sale order'selection=[('3_global', 'All products'), ('2_product_category', 'Product Category'), ('1_product', 'Product'), ('0_product_variant', 'Product Variant')]string='Lock price when rule is applied on'
No public methods.
New fields (2)
-
origin_pricelist_item_idMany2one → product.pricelist.itemcomodel_name='product.pricelist.item'compute='_compute_origin_pricelist_item_id'help='Technical field to get the base pricelist item that has the origin price calculation' -
price_lockedBooleancompute='_compute_price_locked'help='This flag will make the price_unit and discount readonly based on the pricelist locking criterias'
No public methods.
Loading…