mrp_production_auto_validate
Automatically validate manufacturing orders when the pick components transfer is completed for BoMs configured for auto-validation.
Key Features
- mrp.bom: Adds an Order Auto Validation option for standard BoMs to trigger manufacturing order completion when the components picking is validated.
- mrp.bom: Clears the auto-validation flag when the BoM type is changed away from normal to avoid incompatible configurations.
- mrp.production: Computes the auto_validate flag from the BoM while in draft and blocks auto-validated orders whose quantity differs from the BoM quantity.
- mrp.production: Automatically marks manufacturing orders done after their components picking is finished, handling immediate production and backorder workflows.
- mrp.production: When created through procurements, adjusts or splits manufacturing orders tied to auto-validated BoMs so each order matches the BoM quantity and posts explanatory messages.
- stock.picking: On completion of a components picking, locates related manufacturing orders and triggers auto-validation when they are fully assigned.
- stock.rule: Propagates context in manufacturing procurements so BoM quantity matching for auto-validated orders occurs during creation.