Metadata-Version: 2.1
Name: odoo-addon-product_replenishment_cost
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Provides an overridable method on product which computethe Replenishment cost of a product
Home-page: https://github.com/OCA/margin-analysis
License: AGPL-3
Author: Camptocamp,GRAP,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

==========================
Product Replenishment Cost
==========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:51e1eecb980106fd47d58027e5f35156393cf7134c3d6ebc1d6f85269a83e7df
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmargin--analysis-lightgray.png?logo=github
    :target: https://github.com/OCA/margin-analysis/tree/18.0/product_replenishment_cost
    :alt: OCA/margin-analysis
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/margin-analysis-18-0/margin-analysis-18-0-product_replenishment_cost
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/margin-analysis&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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**

.. contents::
   :local:

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 <https://github.com/OCA/margin-analysis/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 <https://github.com/OCA/margin-analysis/issues/new?body=module:%20product_replenishment_cost%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp
* GRAP

Contributors
------------

- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Joël Grand-Guillaume <joel.grand-guillaume@camptocamp.com>
- Sylvain Le Gal (https://twitter.com/legalsylvain)
- Marc Poch Mallandrich <mpoch@planetatic.com>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

  - Bhavesh Heliconia

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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 <https://github.com/OCA/margin-analysis/tree/18.0/product_replenishment_cost>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
