Skip to main content
Odoo Community Association

Product Replenishment Cost

Beta License: AGPL-3 OCA/margin-analysis Translate me on Weblate Try me on Runboat

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

Known issues / Roadmap

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.

Bug Tracker

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.

Credits

Authors

  • Camptocamp

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Release files for odoo-addon-product-replenishment-cost 18.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-product-replenishment-cost 18.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_product_replenishment_cost-18.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_product_replenishment_cost-18.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_product_replenishment_cost-18.0.1.0.0.2-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e815de731f7bf4ed78231f1629a4689156d257a0fc65315bd22753bf92894af6
BLAKE2b-256 checksum
How to use checksums
e1c19f0d1ae5353cbbba14d8f791f5b25652729b4fe6b16644a0c499620a426d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page