Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 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
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
- uom
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 4

XML IDNameModelTypeStatus
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 3

New fields (3)
  • alternative_pricelist_ids Many2many → product.pricelist
    column1='origin_id' column2='alternative_id' comodel_name='product.pricelist' domain="[('id', '!=', id)]" relation='product_pricelist_alternative_rel'
  • is_alternative_to_pricelist_count Integer
    compute='_compute_is_alternative_to_pricelist_count'
  • is_alternative_to_pricelist_ids Many2many → product.pricelist
    column1='alternative_id' column2='origin_id' comodel_name='product.pricelist' relation='product_pricelist_alternative_rel'
Public methods (1)
  • action_view_is_alternative_to_pricelist(self)

New fields (1)
  • alternative_pricelist_policy Selection
    default='use_lower_price' required=True selection=[('use_lower_price', 'Use lower price'), ('ignore', 'Ignore alternatives')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…