Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 12.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.09 MB
Module directory on disk
Code analysis 0 migration notes 1 model 4 views 0 HTTP endpoints

Description

This module shows the product's cost and margin from the pricelists. The margin is calculated as the difference between the price and the cost, expressed as a percentage of the price. The price is based on the computation applied from the current pricelist item. This allows the user to make price simulations while editing the pricelist item.

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 4

XML IDNameModelTypeStatus
product_pricelist_item_form_view_inerhit product.pricelist.item form Inherits product.product_pricelist_item_form_view
product_pricelist_item_tree_view_from_product_inherit product.pricelist.item tree Inherits product.product_pricelist_item_tree_view_from_product
product_pricelist_item_tree_view_inherit product.pricelist.item tree Inherits product.product_pricelist_item_tree_view
product_pricelist_view_inherit product.pricelist Inherits product.product_pricelist_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (3)
  • cost Float
    digits='Product Price' related='product_tmpl_id.standard_price'
  • margin Float
    compute='_compute_margin' digits='Product Price'
  • margin_percent Float
    compute='_compute_margin' string='Margin (%)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…