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.
Table of contents
Due to framework limitation, the field replenishment_cost
is not
company dependent, while standard_price
is. (in the recent Odoo versions)
It is due to the current impossibility to make working computed field between
two field company_dependent=True
.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Camptocamp
- GRAP
- Alexandre Fayolle <[email protected]>
- Yannick Vaucher <[email protected]>
- Joël Grand-Guillaume <[email protected]>
- Sylvain Le Gal (https://twitter.com/legalsylvain)
- Marc Poch Mallandrich <[email protected]>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/margin-analysis project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.