Go to file
2026-02-09 17:18:01 +07:00
models feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00
security feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00
tests feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00
views feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00
__init__.py first commit 2026-01-12 16:53:56 +07:00
__manifest__.py feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00
.gitignore first commit 2026-01-12 16:53:56 +07:00
README.md feat: Introduce mrp.packaging model and integrate packaging quantity management into MRP Production, BOM, and Production Schedule, along with production tracking and move line merging. 2026-02-09 17:18:01 +07:00

MRP Packaging Quantity

This module extends the Odoo Manufacturing app to allow creating Manufacturing Orders based on product packaging.

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.
  • 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.
  • Packaging Reset: Automatically resets Quantity Packaging to 0.0 when the Packaging field is cleared, allowing seamless transition back to standard UOM input.
  • Clean Reports: Uses advanced logic (SQL Delete) to remove duplicate 'Done' lines that cannot be unlinked via ORM, ensuring Traceability Reports are accurate and free of zero-quantity lines.

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.

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).

Authors

  • Suherdy Yacob