Skip to main content

Purchase Product Packaging Container Deposit

Project description

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

This module allows you to add product packaging to an order automatically. Based on the order line quantity with associated packaging, the quantity of product packaging is calculated and added to the order.

Hypothesis:

  • package type “Pack of 12” has the container deposit “pack of 12”

  • package type “Pack of 24” has the container deposit “pack of 24”

  • package type “EUROPAL” has the container deposit “EU pallet”

Product A has those packaging:

package type

package level

qty

Pack of 12

PACK

12

Pack of 24

Pack

24

EUROPAL

PALLET

240

Order Line:

  • Case 1: Product A | qty = 280. Result:

    • 280 // 240 = 1 => add order line for 1 EU pallet

    • 280 // 24 (biggest PACK) => add SO line for 11 pack of 24

  • Case 2: Product A | qty = 280 and packaging=Pack of 12. Result:

    • 280 // 240 =1 => add order line for 1 EU pallet

    • 280 // 12 (forced packaging for PACK) => add order line for 23 pack of 12

  • Case 3: Product A & Product B. Both have a deposit of 1 pack of 24

    • only one line for 2 pack of 24

Table of contents

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

  • 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/purchase-workflow 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_purchase_product_packaging_container_deposit-16.0.1.0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_purchase_product_packaging_container_deposit-16.0.1.0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4994db83f767f2aada1ede4460ee7d13aead17b5a867f7571c176610e614a6f5
MD5 ad0c6ba33a63da40925798010eb77cd0
BLAKE2b-256 8d36a519aa50a796042b3ea38e4836ffea40c412bfb1cb45c37db57f2fb18806

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