You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
31
+
Provides an overridable method on product which compute the
32
+
Replenishment cost of a product. By default it just returns the value of
33
+
"Cost price" field, but using the product_cost_incl_bom module, it will
34
+
return the costing from the bom.
32
35
33
-
"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.
36
+
"Cost price" is the cost assigned for each product in the warehouse and
37
+
the "Replenishment cost" is the cost it would cost to buy a new product.
38
+
They are different costs because the cost price depends on your
39
+
valuation method and the operations you have performed while the
40
+
replenishment cost is determined by the current market conditions.
34
41
35
-
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.
42
+
For example: The price of the product in the supplier's catalog is
43
+
€15/piece. Therefore, if I want to buy a new unit, my replenishment cost
44
+
would be €15. But if my stock comes from having bought it in a special
45
+
offer that allowed me to buy it for €10, then my cost price is
46
+
€10/piece.
36
47
37
-
As it is a generic module, you can also setup your own way of computing the replenishment_cost for your product.
48
+
As it is a generic module, you can also setup your own way of computing
49
+
the replenishment_cost for your product.
38
50
39
-
All OCA modules to compute margins are based on it, so you'll be able to use them in your own way.
51
+
All OCA modules to compute margins are based on it, so you'll be able to
52
+
use them in your own way.
40
53
41
54
**Table of contents**
42
55
@@ -47,41 +60,42 @@ Known issues / Roadmap
47
60
======================
48
61
49
62
Due to framework limitation, the field ``replenishment_cost`` is not
50
-
company dependent, while ``standard_price`` is. (in the recent Odoo versions)
63
+
company dependent, while ``standard_price`` is. (in the recent Odoo
64
+
versions)
51
65
52
-
It is due to the current impossibility to make working computed field between
53
-
two field ``company_dependent=True``.
66
+
It is due to the current impossibility to make working computed field
67
+
between two field ``company_dependent=True``.
54
68
55
69
Bug Tracker
56
70
===========
57
71
58
72
Bugs are tracked on `GitHub Issues <https://github.com/OCA/margin-analysis/issues>`_.
59
73
In case of trouble, please check there if your issue has already been reported.
60
74
If you spotted it first, help us to smash it by providing a detailed and welcomed
<p><aclass="reference external image-reference" href="https://odoo-community.org/page/development-status"><imgalt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a><aclass="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><imgalt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a><aclass="reference external image-reference" href="https://github.com/OCA/margin-analysis/tree/16.0/product_replenishment_cost"><imgalt="OCA/margin-analysis" src="https://img.shields.io/badge/github-OCA%2Fmargin--analysis-lightgray.png?logo=github" /></a><aclass="reference external image-reference" href="https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-product_replenishment_cost"><imgalt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a><aclass="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/margin-analysis&target_branch=16.0"><imgalt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
-
<p>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.</p>
374
-
<p>“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.</p>
375
-
<p>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.</p>
376
-
<p>As it is a generic module, you can also setup your own way of computing the replenishment_cost for your product.</p>
377
-
<p>All OCA modules to compute margins are based on it, so you’ll be able to use them in your own way.</p>
372
+
<p><aclass="reference external image-reference" href="https://odoo-community.org/page/development-status"><imgalt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a><aclass="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><imgalt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a><aclass="reference external image-reference" href="https://github.com/OCA/margin-analysis/tree/17.0/product_replenishment_cost"><imgalt="OCA/margin-analysis" src="https://img.shields.io/badge/github-OCA%2Fmargin--analysis-lightgray.png?logo=github" /></a><aclass="reference external image-reference" href="https://translation.odoo-community.org/projects/margin-analysis-17-0/margin-analysis-17-0-product_replenishment_cost"><imgalt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a><aclass="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/margin-analysis&target_branch=17.0"><imgalt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
+
<p>Provides an overridable method on product which compute the
374
+
Replenishment cost of a product. By default it just returns the value of
375
+
“Cost price” field, but using the product_cost_incl_bom module, it will
376
+
return the costing from the bom.</p>
377
+
<p>“Cost price” is the cost assigned for each product in the warehouse and
378
+
the “Replenishment cost” is the cost it would cost to buy a new product.
379
+
They are different costs because the cost price depends on your
380
+
valuation method and the operations you have performed while the
381
+
replenishment cost is determined by the current market conditions.</p>
382
+
<p>For example: The price of the product in the supplier’s catalog is
383
+
€15/piece. Therefore, if I want to buy a new unit, my replenishment cost
384
+
would be €15. But if my stock comes from having bought it in a special
385
+
offer that allowed me to buy it for €10, then my cost price is
386
+
€10/piece.</p>
387
+
<p>As it is a generic module, you can also setup your own way of computing
388
+
the replenishment_cost for your product.</p>
389
+
<p>All OCA modules to compute margins are based on it, so you’ll be able to
<imgalt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
444
+
</a>
429
445
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
430
446
mission is to support the collaborative development of Odoo features and
431
447
promote its widespread use.</p>
432
-
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/margin-analysis/tree/16.0/product_replenishment_cost">OCA/margin-analysis</a> project on GitHub.</p>
448
+
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/margin-analysis/tree/17.0/product_replenishment_cost">OCA/margin-analysis</a> project on GitHub.</p>
433
449
<p>You are welcome to contribute. To learn how please visit <aclass="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
0 commit comments