Product Replenishment Cost
product_replenishment_cost · OCA/margin-analysis
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Description
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.
"Cost price" is the cost assigned for each product in the warehouse and the "Replenishment cost" is the cost it would cost to buy a new product. They are different costs because the cost price depends on your valuation method and the operations you have performed while the replenishment cost is determined by the current market conditions.
For example: The price of the product in the supplier's catalog is €15/piece. Therefore, if I want to buy a new unit, my replenishment cost would be €15. But if my stock comes from having bought it in a special offer that allowed me to buy it for €10, then my cost price is €10/piece.
As it is a generic module, you can also setup your own way of computing the replenishment_cost 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.
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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_product_form |
product.product | form | Inherits product.product_normal_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
replenishment_costFloatcompute='_compute_replenishment_cost'digits='Product Price'help='The cost that you have to support in order to produce or acquire the goods. Depending on the modules installed, this cost may be computed based on various pieces of information, for example Bills of Materials or latest Purchases. By default, the Replenishment cost is the same as the Cost Price.'store=Truestring='Replenishment cost'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…