Skip to content

Commit 0ea4554

Browse files
committed
[IMP] stock_valuation_fifo_lot: readme.md
1 parent badcc2c commit 0ea4554

File tree

4 files changed

+87
-16
lines changed

4 files changed

+87
-16
lines changed

stock_valuation_fifo_lot/README.rst

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,28 @@ Stock Valuation Fifo Lot
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module is used to calculate FIFO cost by lot.
31+
This module is used to apply FIFO cost calculation at the lot or serial level instead of the product level.
32+
33+
Example: Lot-Level Costing
34+
~~~~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
- Purchase:
37+
38+
- Lot A: 100 units at $10 each.
39+
- Lot B: 100 units at $12 each.
40+
41+
- Sale:
42+
43+
- 50 units from Lot B.
44+
45+
- COGS Calculation:
46+
47+
- 50 units * $12 = $600 assigned to COGS.
48+
49+
- Ending Inventory:
50+
51+
- Lot A: 100 units at $10 each.
52+
- Lot B: 50 units at $12 each.
3253

3354
.. IMPORTANT::
3455
This is an alpha version, the data model and design can change at any time without warning.
@@ -40,6 +61,11 @@ This module is used to calculate FIFO cost by lot.
4061
.. contents::
4162
:local:
4263

64+
Usage
65+
=====
66+
67+
Process an outgoing move with a lot/serial for a product of FIFO costing method, the costs will be calculated based on the lot/serial.
68+
4369
Bug Tracker
4470
===========
4571

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
This module is used to calculate FIFO cost by lot.
1+
This module is used to apply FIFO cost calculation at the lot or serial level instead of the product level.
2+
3+
Example: Lot-Level Costing
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~
5+
6+
- Purchase:
7+
8+
- Lot A: 100 units at $10 each.
9+
- Lot B: 100 units at $12 each.
10+
11+
- Sale:
12+
13+
- 50 units from Lot B.
14+
15+
- COGS Calculation:
16+
17+
- 50 units * $12 = $600 assigned to COGS.
18+
19+
- Ending Inventory:
20+
21+
- Lot A: 100 units at $10 each.
22+
- Lot B: 50 units at $12 each.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Process an outgoing move with a lot/serial for a product of FIFO costing method, the costs will be calculated based on the lot/serial.

stock_valuation_fifo_lot/static/description/index.html

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,29 @@ <h1 class="title">Stock Valuation Fifo Lot</h1>
370370
!! source digest: sha256:877af52a350ab6a61b6c128c4fbcffe909e4a8274c8ec064390dc9b1c36d9253
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_valuation_fifo_lot"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-15-0/stock-logistics-workflow-15-0-stock_valuation_fifo_lot"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373-
<p>This module is used to calculate FIFO cost by lot.</p>
373+
<p>This module is used to apply FIFO cost calculation at the lot or serial level instead of the product level.</p>
374+
<div class="section" id="example-lot-level-costing">
375+
<h1>Example: Lot-Level Costing</h1>
376+
<ul class="simple">
377+
<li>Purchase:<ul>
378+
<li>Lot A: 100 units at $10 each.</li>
379+
<li>Lot B: 100 units at $12 each.</li>
380+
</ul>
381+
</li>
382+
<li>Sale:<ul>
383+
<li>50 units from Lot B.</li>
384+
</ul>
385+
</li>
386+
<li>COGS Calculation:<ul>
387+
<li>50 units * $12 = $600 assigned to COGS.</li>
388+
</ul>
389+
</li>
390+
<li>Ending Inventory:<ul>
391+
<li>Lot A: 100 units at $10 each.</li>
392+
<li>Lot B: 50 units at $12 each.</li>
393+
</ul>
394+
</li>
395+
</ul>
374396
<div class="admonition important">
375397
<p class="first admonition-title">Important</p>
376398
<p class="last">This is an alpha version, the data model and design can change at any time without warning.
@@ -380,33 +402,35 @@ <h1 class="title">Stock Valuation Fifo Lot</h1>
380402
<p><strong>Table of contents</strong></p>
381403
<div class="contents local topic" id="contents">
382404
<ul class="simple">
383-
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
384-
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
385-
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
386-
<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
387-
<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
388-
</ul>
389-
</li>
405+
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
406+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
407+
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a></li>
390408
</ul>
391409
</div>
410+
<div class="section" id="usage">
411+
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
412+
<p>Process an outgoing move with a lot/serial for a product of FIFO costing method, the costs will be calculated based on the lot/serial.</p>
413+
</div>
392414
<div class="section" id="bug-tracker">
393-
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
415+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
394416
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues">GitHub Issues</a>.
395417
In case of trouble, please check there if your issue has already been reported.
396418
If you spotted it first, help us to smash it by providing a detailed and welcomed
397419
<a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_valuation_fifo_lot%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398420
<p>Do not contact contributors directly about support or help with technical issues.</p>
399421
</div>
400422
<div class="section" id="credits">
401-
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
423+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
424+
</div>
425+
</div>
402426
<div class="section" id="authors">
403-
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
427+
<h1>Authors</h1>
404428
<ul class="simple">
405429
<li>Ecosoft</li>
406430
</ul>
407431
</div>
408432
<div class="section" id="contributors">
409-
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
433+
<h1>Contributors</h1>
410434
<ul class="simple">
411435
<li><a class="reference external" href="http://ecosoft.co.th">Ecosoft</a>:<ul>
412436
<li>Tharathip Chaweewongphan &lt;<a class="reference external" href="mailto:tharathipc&#64;ecosoft.co.th">tharathipc&#64;ecosoft.co.th</a>&gt;</li>
@@ -417,7 +441,7 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
417441
</ul>
418442
</div>
419443
<div class="section" id="maintainers">
420-
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
444+
<h1>Maintainers</h1>
421445
<p>This module is maintained by the OCA.</p>
422446
<a class="reference external image-reference" href="https://odoo-community.org">
423447
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -431,6 +455,5 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
431455
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
432456
</div>
433457
</div>
434-
</div>
435458
</body>
436459
</html>

0 commit comments

Comments
 (0)