Skip to main content

Stock Storage Type

Beta License: AGPL-3 OCA/wms Translate me on Weblate Try me on Runbot

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

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

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp

  • BCIM

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/wms project on GitHub.

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

Metadata

Release files for odoo13-addon-stock-storage-type 13.0.1.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo13-addon-stock-storage-type 13.0.1.16.0
File Interpreter ABI Platform Actions
odoo13_addon_stock_storage_type-13.0.1.16.0-py3-none-any.whl Python 3 none any Details for odoo13_addon_stock_storage_type-13.0.1.16.0-py3-none-any.whl

Release files / odoo13_addon_stock_storage_type-13.0.1.16.0-py3-none-any.whl

Download URL odoo13_addon_stock_storage_type-13.0.1.16.0-py3-none-any.whl
Size 72.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
372c001b494527e739ed3e2437694e2c45c9258da3195fc52d70aff485a6f01f
BLAKE2b-256 checksum
How to use checksums
5c78a40c0e41d8ec58247bc75aa5cae08d5ceba49fe5ee1935a49674fcaf93d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Security for odoo13-addon-stock-storage-type 13.0.1.16.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

13.0.1.16.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page