Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 141 months ago
  • Required by25/25
    5 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 6.1

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

Security findings
Grave / minor (static analysis)
Required by
5
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.01 MB
Module directory on disk
Code analysis 4 migration notes 1 model 2 views 0 HTTP endpoints

Description

Product Replenishment Cost

Provides an overridable method on product which compute the Replenishment cost of a product. By default it just returns the value of "Cost price" field, but using the product_cost_incl_bom module, it will return the costing from the bom.

As it is a generic module, you can also setup your own way of computing the cost_price for your product.

All OCA modules to compute margins are based on it, so you'll be able to use them in your own way.

Contributors

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
product_cost_incl_bom, product_historical_margin, product_standard_margin, product_stock_cost_field_report, sale_markup

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_get_cost_field_form product.get_cost_field.view.form product.product form Inherits product.product_normal_form_view
product_get_cost_field_tree product.get_cost_field.view.tree product.product tree Inherits product.product_product_tree_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (1)
  • get_cost_field(self, cr, uid, ids, context=None)

Loading…