Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 12 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_on Selection
    help='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'
Public methods (0)

No public methods.

New fields (2)
  • origin_pricelist_item_id Many2one → product.pricelist.item
    comodel_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_locked Boolean
    compute='_compute_price_locked' help='This flag will make the price_unit and discount readonly based on the pricelist locking criterias'
Public methods (0)

No public methods.

Loading…

Loading…