Go to file
2026-03-05 08:56:41 +07:00
models fix: Prevent floating-point inaccuracies in MO raw material quantities during BOM explosion and correct existing noise with a cleanup script. 2026-03-05 08:42:40 +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: Add a dedicated menu for managing MRP packaging records and update documentation to reflect the new management and deletion capabilities. 2026-02-13 09:33:09 +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
fix_mo_decimals.py refactor: rewrite MO decimal fixing script to use direct Odoo ORM instead of XML-RPC. 2026-03-05 08:56:41 +07:00
README.md feat: Add a dedicated menu for managing MRP packaging records and update documentation to reflect the new management and deletion capabilities. 2026-02-13 09:33:09 +07:00

MRP Packaging Quantity

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

Features

  • 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.
  • 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. 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. The Packaging menu will appear under Manufacturing Configuration.

Authors

  • Suherdy Yacob