Skip to content

Commit

Permalink
[17.0][MIG] stock_picking_volume_packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Murtaza-SerpentCS committed Sep 28, 2024
1 parent dd18ecf commit 249eca7
Show file tree
Hide file tree
Showing 10 changed files with 103 additions and 83 deletions.
74 changes: 40 additions & 34 deletions stock_picking_volume_packaging/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,39 @@ Stock Picking Volume From Packaging
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_picking_volume_packaging
:target: https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_picking_volume_packaging
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_picking_volume_packaging
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_picking_volume_packaging
: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/stock-logistics-warehouse&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-warehouse&target_branch=17.0
:alt: Try me on Runboat

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

This modules improves the way the volume is computed on a stock.move by
taking into account the volume of the potential product packaging
that can be picked to fulfill the move.

The potential packaging that can be picked for a move are computed by the
module *stock_packaging_calculator*. Thanks to this module we can compute the
best distribution of the packaging to uses to fulfill a specific quantity of a
product. (This information is important for the picking operators to minimize
the number of manipulations to do. Even if this information is not available
into the Odoo UI, The *Shopfloor* addon takes advantage of it to propose
the best picking strategy to the user).

By default the volume information is not available on the product packaging.
Hopefully the module *product_packaging_dimension* provides this information.

Since the volume information is not a mandatory field on the product packaging
when we ask for the best distribution of the packaging, packaging without volume
information are ignored. In this way we ensure that the volume of the packaging
is only taken into account when it's relevant otherwise we fallback on the
volume of the products.
taking into account the volume of the potential product packaging that
can be picked to fulfill the move.

The potential packaging that can be picked for a move are computed by
the module *stock_packaging_calculator*. Thanks to this module we can
compute the best distribution of the packaging to uses to fulfill a
specific quantity of a product. (This information is important for the
picking operators to minimize the number of manipulations to do. Even if
this information is not available into the Odoo UI, The *Shopfloor*
addon takes advantage of it to propose the best picking strategy to the
user).

By default the volume information is not available on the product
packaging. Hopefully the module *product_packaging_dimension* provides
this information.

Since the volume information is not a mandatory field on the product
packaging when we ask for the best distribution of the packaging,
packaging without volume information are ignored. In this way we ensure
that the volume of the packaging is only taken into account when it's
relevant otherwise we fallback on the volume of the products.

**Table of contents**

Expand All @@ -58,43 +60,47 @@ Usage
=====

This modules makes sense only if you manage the volume information on
your product packaging definitions. If you don't, you can ignore this module.
your product packaging definitions. If you don't, you can ignore this
module.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/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/stock-logistics-warehouse/issues/new?body=module:%20stock_picking_volume_packaging%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_picking_volume_packaging%0Aversion:%2017.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
~~~~~~~
-------

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~
------------

* Laurent Mignon <laurent.mignon@acsone.eu> (http://acsone.eu)
* Guewen Baconnier <guewen.baconnier@camptocamp.eu) (http://www.camptocamp.com)
- Laurent Mignon <laurent.mignon@acsone.eu>
(`http://acsone.eu <http://acsone.eu>`__)
- Guewen Baconnier <guewen.baconnier@camptocamp.eu)
(`http://www.camptocamp.com <http://www.camptocamp.com>`__)
- Murtaza Mithaiwala <murtaza.m.serpentcs@gmail.com/>

Other credits
~~~~~~~~~~~~~
-------------

The development of this module has been financially supported by:

* ACSONE SA/NV
* Alcyon Benelux
* Camptocamp
- ACSONE SA/NV
- Alcyon Benelux
- Camptocamp

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -106,6 +112,6 @@ 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/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_picking_volume_packaging>`_ project on GitHub.
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_picking_volume_packaging>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion stock_picking_volume_packaging/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"summary": """
Use volume information on potential product packaging to compute the
volume of a stock.move""",
"version": "16.0.1.0.1",
"version": "17.0.1.0.1",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
Expand Down
3 changes: 3 additions & 0 deletions stock_picking_volume_packaging/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
4 changes: 4 additions & 0 deletions stock_picking_volume_packaging/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Laurent Mignon \<<laurent.mignon@acsone.eu>\> (<http://acsone.eu>)
- Guewen Baconnier \<<guewen.baconnier@camptocamp.eu>)
(<http://www.camptocamp.com>)
- Murtaza Mithaiwala \<<murtaza.m.serpentcs@gmail.com>/>
2 changes: 0 additions & 2 deletions stock_picking_volume_packaging/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The development of this module has been financially supported by:

* ACSONE SA/NV
* Alcyon Benelux
* Camptocamp
- ACSONE SA/NV
- Alcyon Benelux
- Camptocamp
22 changes: 22 additions & 0 deletions stock_picking_volume_packaging/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This modules improves the way the volume is computed on a stock.move by
taking into account the volume of the potential product packaging that
can be picked to fulfill the move.

The potential packaging that can be picked for a move are computed by
the module *stock\_packaging\_calculator*. Thanks to this module we can
compute the best distribution of the packaging to uses to fulfill a
specific quantity of a product. (This information is important for the
picking operators to minimize the number of manipulations to do. Even if
this information is not available into the Odoo UI, The *Shopfloor*
addon takes advantage of it to propose the best picking strategy to the
user).

By default the volume information is not available on the product
packaging. Hopefully the module *product\_packaging\_dimension* provides
this information.

Since the volume information is not a mandatory field on the product
packaging when we ask for the best distribution of the packaging,
packaging without volume information are ignored. In this way we ensure
that the volume of the packaging is only taken into account when it's
relevant otherwise we fallback on the volume of the products.
20 changes: 0 additions & 20 deletions stock_picking_volume_packaging/readme/DESCRIPTION.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
This modules makes sense only if you manage the volume information on
your product packaging definitions. If you don't, you can ignore this module.
your product packaging definitions. If you don't, you can ignore this
module.
50 changes: 28 additions & 22 deletions stock_picking_volume_packaging/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,24 +368,26 @@ <h1 class="title">Stock Picking Volume From Packaging</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:fe3d24f7bcf41de8bfffbb38ddeee5527f69b808385c5c48fc8f0c238d1387b4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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-warehouse/tree/16.0/stock_picking_volume_packaging"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_picking_volume_packaging"><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-warehouse&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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-warehouse/tree/17.0/stock_picking_volume_packaging"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_picking_volume_packaging"><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-warehouse&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This modules improves the way the volume is computed on a stock.move by
taking into account the volume of the potential product packaging
that can be picked to fulfill the move.</p>
<p>The potential packaging that can be picked for a move are computed by the
module <em>stock_packaging_calculator</em>. Thanks to this module we can compute the
best distribution of the packaging to uses to fulfill a specific quantity of a
product. (This information is important for the picking operators to minimize
the number of manipulations to do. Even if this information is not available
into the Odoo UI, The <em>Shopfloor</em> addon takes advantage of it to propose
the best picking strategy to the user).</p>
<p>By default the volume information is not available on the product packaging.
Hopefully the module <em>product_packaging_dimension</em> provides this information.</p>
<p>Since the volume information is not a mandatory field on the product packaging
when we ask for the best distribution of the packaging, packaging without volume
information are ignored. In this way we ensure that the volume of the packaging
is only taken into account when it’s relevant otherwise we fallback on the
volume of the products.</p>
taking into account the volume of the potential product packaging that
can be picked to fulfill the move.</p>
<p>The potential packaging that can be picked for a move are computed by
the module <em>stock_packaging_calculator</em>. Thanks to this module we can
compute the best distribution of the packaging to uses to fulfill a
specific quantity of a product. (This information is important for the
picking operators to minimize the number of manipulations to do. Even if
this information is not available into the Odoo UI, The <em>Shopfloor</em>
addon takes advantage of it to propose the best picking strategy to the
user).</p>
<p>By default the volume information is not available on the product
packaging. Hopefully the module <em>product_packaging_dimension</em> provides
this information.</p>
<p>Since the volume information is not a mandatory field on the product
packaging when we ask for the best distribution of the packaging,
packaging without volume information are ignored. In this way we ensure
that the volume of the packaging is only taken into account when it’s
relevant otherwise we fallback on the volume of the products.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -403,14 +405,15 @@ <h1 class="title">Stock Picking Volume From Packaging</h1>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>This modules makes sense only if you manage the volume information on
your product packaging definitions. If you don’t, you can ignore this module.</p>
your product packaging definitions. If you don’t, you can ignore this
module.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_picking_volume_packaging%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_picking_volume_packaging%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -424,8 +427,11 @@ <h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt; (<a class="reference external" href="http://acsone.eu">http://acsone.eu</a>)</li>
<li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.eu">guewen.baconnier&#64;camptocamp.eu</a>) (<a class="reference external" href="http://www.camptocamp.com">http://www.camptocamp.com</a>)</li>
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;
(<a class="reference external" href="http://acsone.eu">http://acsone.eu</a>)</li>
<li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.eu">guewen.baconnier&#64;camptocamp.eu</a>)
(<a class="reference external" href="http://www.camptocamp.com">http://www.camptocamp.com</a>)</li>
<li>Murtaza Mithaiwala &lt;<a class="reference external" href="mailto:murtaza.m.serpentcs&#64;gmail.com/">murtaza.m.serpentcs&#64;gmail.com/</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
Expand All @@ -444,7 +450,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_picking_volume_packaging">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_picking_volume_packaging">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
<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>
</div>
</div>
Expand Down

0 comments on commit 249eca7

Please sign in to comment.