Sale line locking by pricelist
sale_order_line_price_lock_by_pricelist · OCA/sale-workflow
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
This module allows to lock price edition based on the applied pricelist rule scope.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…