Stock Picking MRP Mass Production Order
stock_picking_mrp_mass_production_order · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module extends the integration between Stock Picking (Transfers) and Manufacturing Orders (MOs) in Odoo, introducing the capability to generate multiple production orders in bulk directly from a validated or in-progress picking. This significantly optimizes workflows in mass manufacturing environments. The tool not only ensures data consistency by validating that the quantity to produce never exceeds the available stock but also intelligently handles inventory complexity: it accounts for material marked as scrapped to ensure only truly usable raw material is allocated. Furthermore, it precisely manages changes in picking lines (such as splits or backorders), guaranteeing that new MOs are linked exclusively to the correct stock move segments that are still pending consumption, ensuring perfect traceability and preventing the double allocation of material.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_picking_form_inherit |
stock.picking.form.inherit | stock.picking | form | Inherits stock.view_picking_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
No new fields.
Public methods (4)-
action_create(self) -
consume_products(self, moves, sum_scraps, quantity) -
link_mrp_production_orders(self, picking, res) -
raise_error_qty_to_consume(self, quantity, sum_moves_qty, sum_scraps, sum_moves_qty_cons, product)
-
manufacturing_picking_idMany2one → stock.pickingstring='Manufacturing Picking' args: 'stock.picking'
No public methods.
-
consumed_quantityFloatdefault=0digits='Product Unit of Measure'
No public methods.
-
mrp_picking_countIntegercompute='_compute_mrp_picking_count' -
mrp_picking_idsOne2many → mrp.productionstring='Manufacturing Picking Orders' args: 'mrp.production', 'manufacturing_picking_id'
-
action_mrp_mass_production_order(self) -
action_view_mrp_picking_ids(self)