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"
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
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.
- Camptocamp
- BCIM
- Telmo Santos <telmo.santos@camptocamp.com>
- Jacques-Etienne Baudoux <je@bcim.be>
- Simone Orsi <simone.orsi@camptocamp.com>
This module is maintained by the OCA.
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.