==================
Stock Storage Type
==================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e399cf789334f8e78223fc82eabd3104e83b7b6978f7e9e70b62cc8a5d436fdc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/licence-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%2Fwms-lightgray.png?logo=github
:target: https://github.com/OCA/wms/tree/14.0/stock_storage_type
:alt: OCA/wms
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-stock_storage_type
: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/wms&target_branch=14.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module introduces two new models in order to manage stock moves with
packages according to the packaging and stock location properties.
* Stock package storage type (`stock.package.storage.type`)
This model is linked to product.packaging and defines the type of storage
related to a specific packaging.
* Stock location storage type (`stock.location.storage.type`)
This models is linked to stock.location and defines the types of storage
that are allowed for a specific location.
Therefore a Stock location storage type can include different Stock package
storage type in order to validate the destination of a move with package into a
stock location.
Moreover Stock location storage type can include product, size or lot
restrictions for the stock locations it's defined on, so that a move with
package will only be allowed if it doesn't violate the restrictions defined
(cf stock_location_storage_type_strategy).
Moreover, this module implements "storage type put-away strategy" in order to compute a
put-away location using storage types.
The standard put-away strategy is applied *before* the storage type put-away
strategy as the former relies on product or product category and the latter
relies on stock packages.
In other words, when a move is assigned, Odoo standard put-away strategy will be
applied to compute a new destination on the stock move lines, according to the
product.
After this first "put-away computation", the "storage type" put-away strategy
is applied, if the reserved quant is linked to a package defining a package
storage type.
Storage locations linked to the package storage are processed sequentially, if
said storage location is a child of the move line's destination location (i.e
either the put-away location or the move's destination location).
For each location, their packs storage strategy is applied as well as the
restrictions defined on the stock location storage types.
If no suitable location is found, the next location in the sequence will be
searched and so on.
For the packs putaway strategy "none", the location is considered as is. For
the "ordered children" strategy, children locations are sorted by first by max
height which is a physical constraint to respect, then pack putaway sequence
which allow to favor for example some level or corridor, and finally by name.
**Table of contents**
.. contents::
:local:
Known issues / Roadmap
======================
Currently, the module supports only strategies applied on packages (``stock.quant.package``).
For implementations that do not use packages, it would be possible to add
compatibility with product packaging.
The information needed from a package are:
* the storage type, to know which strategy is applied
* the dimensions and weight, to apply constraints
If we want to support product packaging, we would need to:
* guess the product packaging of a move line based on the product and quantities
(multiple of a packaging quantity, for instance 8000 would be a pallet if the pallet
has 2000 units, 1900 would be Box if the Box has 100 units)
* from the product packaging, we know the storage type and dimensions
Everywhere the module is using ``package_id``, we would have to check this:
* use the package if a package is set
* else, use the computed packaging
About Unit of Measures:
In v13, there is an assumption of height to be expressed in mm and weight in kg.
In v14, packaging can be expressed in differents units. Explicit fields are introduced
like max_weight_in_kg in order make simple and efficient computations.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/wms/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/wms/issues/new?body=module:%20stock_storage_type%0Aversion:%2014.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
* BCIM
Contributors
~~~~~~~~~~~~
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
* Raphaƫl Reverdy <raphael.reverdy@akretion.com>
* Jacques-Etienne Baudoux <je@bcim.be>
* Laurent Mignon <laurent.mignon@acsone.eu>
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.
.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px
:target: https://github.com/jbaudoux
:alt: jbaudoux
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-jbaudoux|
This module is part of the `OCA/wms <https://github.com/OCA/wms/tree/14.0/stock_storage_type>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Raw data
{
"_id": null,
"home_page": "https://github.com/OCA/wms",
"name": "odoo14-addon-stock-storage-type",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Camptocamp, BCIM, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": "",
"platform": null,
"description": "==================\nStock Storage Type\n==================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:e399cf789334f8e78223fc82eabd3104e83b7b6978f7e9e70b62cc8a5d436fdc\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github\n :target: https://github.com/OCA/wms/tree/14.0/stock_storage_type\n :alt: OCA/wms\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-stock_storage_type\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n :target: https://runboat.odoo-community.org/builds?repo=OCA/wms&target_branch=14.0\n :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module introduces two new models in order to manage stock moves with\n packages according to the packaging and stock location properties.\n\n* Stock package storage type (`stock.package.storage.type`)\n\n This model is linked to product.packaging and defines the type of storage\n related to a specific packaging.\n\n* Stock location storage type (`stock.location.storage.type`)\n\n This models is linked to stock.location and defines the types of storage\n that are allowed for a specific location.\n\nTherefore a Stock location storage type can include different Stock package\nstorage type in order to validate the destination of a move with package into a\nstock location.\nMoreover Stock location storage type can include product, size or lot\nrestrictions for the stock locations it's defined on, so that a move with\npackage will only be allowed if it doesn't violate the restrictions defined\n(cf stock_location_storage_type_strategy).\n\nMoreover, this module implements \"storage type put-away strategy\" in order to compute a\nput-away location using storage types.\n\nThe standard put-away strategy is applied *before* the storage type put-away\nstrategy as the former relies on product or product category and the latter\nrelies on stock packages.\n\nIn other words, when a move is assigned, Odoo standard put-away strategy will be\napplied to compute a new destination on the stock move lines, according to the\nproduct.\nAfter this first \"put-away computation\", the \"storage type\" put-away strategy\nis applied, if the reserved quant is linked to a package defining a package\nstorage type.\n\nStorage locations linked to the package storage are processed sequentially, if\nsaid storage location is a child of the move line's destination location (i.e\neither the put-away location or the move's destination location).\nFor each location, their packs storage strategy is applied as well as the\nrestrictions defined on the stock location storage types.\nIf no suitable location is found, the next location in the sequence will be\nsearched and so on.\n\nFor the packs putaway strategy \"none\", the location is considered as is. For\nthe \"ordered children\" strategy, children locations are sorted by first by max\nheight which is a physical constraint to respect, then pack putaway sequence\nwhich allow to favor for example some level or corridor, and finally by name.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nKnown issues / Roadmap\n======================\n\nCurrently, the module supports only strategies applied on packages (``stock.quant.package``).\nFor implementations that do not use packages, it would be possible to add\ncompatibility with product packaging.\n\nThe information needed from a package are:\n\n* the storage type, to know which strategy is applied\n* the dimensions and weight, to apply constraints\n\nIf we want to support product packaging, we would need to:\n\n* guess the product packaging of a move line based on the product and quantities\n (multiple of a packaging quantity, for instance 8000 would be a pallet if the pallet\n has 2000 units, 1900 would be Box if the Box has 100 units)\n* from the product packaging, we know the storage type and dimensions\n\nEverywhere the module is using ``package_id``, we would have to check this:\n\n* use the package if a package is set\n* else, use the computed packaging\n\nAbout Unit of Measures:\n\nIn v13, there is an assumption of height to be expressed in mm and weight in kg.\nIn v14, packaging can be expressed in differents units. Explicit fields are introduced\nlike max_weight_in_kg in order make simple and efficient computations.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/wms/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/wms/issues/new?body=module:%20stock_storage_type%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Camptocamp\n* BCIM\n\nContributors\n~~~~~~~~~~~~\n\n* Akim Juillerat <akim.juillerat@camptocamp.com>\n* Guewen Baconnier <guewen.baconnier@camptocamp.com>\n* Rapha\u00ebl Reverdy <raphael.reverdy@akretion.com>\n* Jacques-Etienne Baudoux <je@bcim.be>\n* Laurent Mignon <laurent.mignon@acsone.eu>\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px\n :target: https://github.com/jbaudoux\n :alt: jbaudoux\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-jbaudoux| \n\nThis module is part of the `OCA/wms <https://github.com/OCA/wms/tree/14.0/stock_storage_type>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
"bugtrack_url": null,
"license": "AGPL-3",
"summary": "Manage packages and locations storage types",
"version": "14.0.1.12.2",
"project_urls": {
"Homepage": "https://github.com/OCA/wms"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5b0ab55cd11de080855317229d742c45aae664344bc4fc7b817d4ad16781bd72",
"md5": "4b6f289e6eaa450b21436f6e045cdb48",
"sha256": "ff93971b33c57cd84c2cad791a22b58bfc9a8e13702dc860c45fd8c687d502fb"
},
"downloads": -1,
"filename": "odoo14_addon_stock_storage_type-14.0.1.12.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4b6f289e6eaa450b21436f6e045cdb48",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 86654,
"upload_time": "2023-10-30T16:12:55",
"upload_time_iso_8601": "2023-10-30T16:12:55.351839Z",
"url": "https://files.pythonhosted.org/packages/5b/0a/b55cd11de080855317229d742c45aae664344bc4fc7b817d4ad16781bd72/odoo14_addon_stock_storage_type-14.0.1.12.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-30 16:12:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "wms",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "odoo14-addon-stock-storage-type"
}