Stock Scrap Tier Validation: MRP compatibility
This module fixes compatibility between stock_scrap_tier_validation and the mrp module from Odoo. When scrapping products directly from the production order form, the scrap record will open in the main window rather than in a popup form.
This solves a technical issue with the validation flow: it is only after saving a record that validation can be requested, whereas in the case of a popup window the record is only saved when closing the window. If validation is required, this attempt to save the record will raise an exception.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Makes scrapping products from manufacturing orders and work orders work with tier validation. The scrap form now opens in the main window instead of a popup, so it can be saved and then sent for approval.
This module is a small compatibility fix. It only changes how the scrap screen opens when you scrap products from manufacturing documents.
- On a manufacturing order (
mrp.production), the Scrap button now opens the scrap form in the main window instead of a popup window. - On a work order (
mrp.workorder), the Scrap button behaves the same way.
Why this matters: with the tier validation module installed, a scrap record may need approval before it is confirmed. Validation can only be requested after the record is saved. In a popup, the record is saved only when the popup is closed, so the approval check would block the save and raise an error. Opening the form in the main window lets the user save the scrap first and then request validation in the normal way.
No new menus, fields, reports or business rules are added. The module installs automatically when both Manufacturing and Stock Scrap Tier Validation are present, and it only touches the two models above.
Depends on
Models and fields (2)
- mrp.workorder · extends an existing model
- mrp.production · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.