Skip to main content

Compute the amount of packages a picking out should have depending on the weight of the products and the limit fixed by the carrier

Project description

Beta License: AGPL-3 OCA/delivery-carrier Translate me on Weblate Try me on Runboat

This module computes the amount of packages a picking out should have depending on the weight of the products and the limit fixed by the carrier. It’s fully independent of the delivery_package_number module.

A warning is given if the number of packages for the picking out is above what is considered as the theoretical number of packages for this picking and the chosen carrier. The goal is to minimize the number of packages billed by the carrier.

The chosen strategy for the theoretical number of packages is as follow:
  • Split the product_weights into as many items as we have

  • Try to fit the heaviest product with the lightest. If it does not work then the heaviest should have a box for itself

  • While the weight of products does not exceed the limit, continue adding products in the same package

Table of contents

Usage

Here are some limitations of the module:
  • Product packagings are not supported

  • Multiple package types having different max weight for a shipping method are not supported

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • ACSONE SA/NV

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_delivery_estimated_package_quantity_by_weight-16.0.1.0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_delivery_estimated_package_quantity_by_weight-16.0.1.0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ba23dad34c690731294b41b6c6e1d80ae7e885a2cbcc11be6f658e2f68b6cd59
MD5 334ca0c4bb5d821e184ea10770e2d1be
BLAKE2b-256 bddc51fecefc0265ebaf45b6a3755c9f6944dfcf89b17793c805d99fe5d8dd61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page