|
| 1 | +============================================ |
| 2 | +Purchase Product Packaging Container Deposit |
| 3 | +============================================ |
| 4 | + |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:ee29479e09230a63eda66b3d5d8272d946822939cb2b002d7693902b290610a1 |
| 11 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 12 | +
|
| 13 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
| 14 | + :target: https://odoo-community.org/page/development-status |
| 15 | + :alt: Beta |
| 16 | +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
| 17 | + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
| 18 | + :alt: License: AGPL-3 |
| 19 | +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github |
| 20 | + :target: https://github.com/OCA/purchase-workflow/tree/16.0/purchase_product_packaging_container_deposit |
| 21 | + :alt: OCA/purchase-workflow |
| 22 | +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
| 23 | + :target: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_product_packaging_container_deposit |
| 24 | + :alt: Translate me on Weblate |
| 25 | +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png |
| 26 | + :target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=16.0 |
| 27 | + :alt: Try me on Runboat |
| 28 | + |
| 29 | +|badge1| |badge2| |badge3| |badge4| |badge5| |
| 30 | + |
| 31 | +This module allows you to add product packaging to an order automatically. |
| 32 | +Based on the order line quantity with associated packaging, the quantity of product packaging is calculated and added to the order. |
| 33 | + |
| 34 | +Hypothesis: |
| 35 | + |
| 36 | +* package type "Pack of 12" has the container deposit "pack of 12" |
| 37 | +* package type "Pack of 24" has the container deposit "pack of 24" |
| 38 | +* package type "EUROPAL" has the container deposit "EU pallet" |
| 39 | + |
| 40 | + |
| 41 | +.. list-table:: Product A has those packaging: |
| 42 | + :widths: 50 50 25 |
| 43 | + :header-rows: 1 |
| 44 | + |
| 45 | + * - package type |
| 46 | + - package level |
| 47 | + - qty |
| 48 | + * - Pack of 12 |
| 49 | + - PACK |
| 50 | + - 12 |
| 51 | + * - Pack of 24 |
| 52 | + - Pack |
| 53 | + - 24 |
| 54 | + * - EUROPAL |
| 55 | + - PALLET |
| 56 | + - 240 |
| 57 | + |
| 58 | +Order Line: |
| 59 | + |
| 60 | +* Case 1: Product A | qty = 280. Result: |
| 61 | + |
| 62 | + * 280 // 240 = 1 => add order line for 1 EU pallet |
| 63 | + * 280 // 24 (biggest PACK) => add SO line for 11 pack of 24 |
| 64 | +* Case 2: Product A | qty = 280 and packaging=Pack of 12. Result: |
| 65 | + |
| 66 | + * 280 // 240 =1 => add order line for 1 EU pallet |
| 67 | + * 280 // 12 (forced packaging for PACK) => add order line for 23 pack of 12 |
| 68 | +* Case 3: Product A & Product B. Both have a deposit of 1 pack of 24 |
| 69 | + |
| 70 | + * only one line for 2 pack of 24 |
| 71 | + |
| 72 | +**Table of contents** |
| 73 | + |
| 74 | +.. contents:: |
| 75 | + :local: |
| 76 | + |
| 77 | +Bug Tracker |
| 78 | +=========== |
| 79 | + |
| 80 | +Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_. |
| 81 | +In case of trouble, please check there if your issue has already been reported. |
| 82 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 83 | +`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_product_packaging_container_deposit%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 84 | + |
| 85 | +Do not contact contributors directly about support or help with technical issues. |
| 86 | + |
| 87 | +Credits |
| 88 | +======= |
| 89 | + |
| 90 | +Authors |
| 91 | +~~~~~~~ |
| 92 | + |
| 93 | +* Camptocamp |
| 94 | +* BCIM |
| 95 | + |
| 96 | +Contributors |
| 97 | +~~~~~~~~~~~~ |
| 98 | + |
| 99 | +* Telmo Santos <telmo.santos@camptocamp.com> |
| 100 | +* Jacques-Etienne Baudoux <je@bcim.be> |
| 101 | + |
| 102 | +Maintainers |
| 103 | +~~~~~~~~~~~ |
| 104 | + |
| 105 | +This module is maintained by the OCA. |
| 106 | + |
| 107 | +.. image:: https://odoo-community.org/logo.png |
| 108 | + :alt: Odoo Community Association |
| 109 | + :target: https://odoo-community.org |
| 110 | + |
| 111 | +OCA, or the Odoo Community Association, is a nonprofit organization whose |
| 112 | +mission is to support the collaborative development of Odoo features and |
| 113 | +promote its widespread use. |
| 114 | + |
| 115 | +This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/16.0/purchase_product_packaging_container_deposit>`_ project on GitHub. |
| 116 | + |
| 117 | +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
0 commit comments