From ebef032f0e13663d74c1a391d7df5c82f6763d84 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Fri, 13 Feb 2026 09:33:09 +0700 Subject: [PATCH] feat: Add a dedicated menu for managing MRP packaging records and update documentation to reflect the new management and deletion capabilities. --- README.md | 25 +++++++++++++++---------- views/mrp_packaging_views.xml | 19 ++++++++++++++++++- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2249110..67964d7 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This module extends the Odoo Manufacturing app to allow creating Manufacturing O ## Features -- **Packaging Selection**: Adds a `Packaging` field to the Manufacturing Order form. -- **Quantity Packaging**: Adds a `Quantity Packaging` field to specify the number of packages to produce. +- **Packaging Management**: Added a dedicated menu at **Manufacturing > Configuration > Packaging** to manage all created packaging records. +- **Delete Support**: Users can easily delete unwanted packaging records directly from the list view. - **Auto-Calculation**: Automatically calculates the total `Quantity` (to produce) based on the selected packaging and the number of packages (Quantity = Packaging Size * Quantity Packaging). - **Manual Override**: Allows users to manually adjust the Quantity if needed, or create MOs without using packaging. - **Traceability Logic**: Automatically consolidates split stock move lines into a single line per Lot/Location when producing more than planned, preventing duplicate entries in Traceability Reports. @@ -14,18 +14,23 @@ This module extends the Odoo Manufacturing app to allow creating Manufacturing O ## Usage -1. Go to **Manufacturing** > **Operations** > **Manufacturing Orders**. -2. Click **New** to create a manufacturing order. -3. Select a **Product**. -4. (Optional) Select a **Packaging** type (e.g., Box of 10). -5. Enter the **Quantity Packaging** (e.g., 5). -6. The main **Quantity** field will automatically update (e.g., 50). -7. Proceed with the manufacturing order as usual. +1. **Setup Packaging**: + - Go to **Manufacturing** > **Configuration** > **Packaging**. + - Create or delete your product packaging templates here (e.g., Box of 10, Pallet of 50). +2. **Create MO**: + - Go to **Manufacturing** > **Operations** > **Manufacturing Orders**. + - Click **New** to create a manufacturing order. + - Select a **Product**. + - (Optional) Select a **Packaging** type. + - Enter the **Quantity Packaging**. + - The main **Quantity** field will automatically update. +3. **Produce**: + - Proceed with the manufacturing order as usual. ## Installation 1. Install this module in your Odoo instance. -2. Ensure the user has the "Manage Product Packaging" permission (or the setting is enabled in Inventory/Sales). +2. The **Packaging** menu will appear under Manufacturing Configuration. ## Authors diff --git a/views/mrp_packaging_views.xml b/views/mrp_packaging_views.xml index 6e32699..c25ef67 100644 --- a/views/mrp_packaging_views.xml +++ b/views/mrp_packaging_views.xml @@ -25,7 +25,7 @@ mrp.packaging.list mrp.packaging - + @@ -33,4 +33,21 @@ + + + Packaging + mrp.packaging + list,form + +

+ Create a new packaging +

+
+
+ +