OdooWiki OCA HUB

MRP Work Order Blocking Time

mrp_workorder_blocking_time folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

On some Manufacturing orders, we need to block them in "progress" on a work operation for some time before being able to continue the process or close the MO.

This module allow to set a delay on a work order operation and to block changes on the MO until the delay is over.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Set a blocking delay on manufacturing operations so work orders must wait before they can be paused or finished, and record a reason if the wait is interrupted.

This module adds a waiting (blocking) period to manufacturing operations. On an operation (routing work center), you can tick a new "blocking stage" option and enter a recommended blocking time in hours. These fields appear on the operation form and in the operation lists, including the one shown on bills of materials.

When a work order for such an operation is started, Odoo automatically computes and stores the end of the blocking period, based on the start time plus the recommended hours. That end date is visible on the work order list.

While the blocking period is still running, if a user tries to pause the work order, finish it, or open its manufacturing order, Odoo does not do it immediately. Instead it opens a warning popup explaining that the blocking period is not over and asking for a reason. The user can cancel and keep working, or accept and stop the work order; accepting saves the reason on the work order and marks the blocking period as interrupted.

A blocking operation that is in progress cannot be deleted. The module touches the manufacturing operation and work order models and adds a small popup wizard for the interruption reason.

Depends on

mrp
Models and fields (3)
  • mrp.workorder · extends an existing modelblocking_stage_end, interruption_reason, blocking_period_interrupted
  • mrp.routing.workcenter · extends an existing modelblocking_stage, recommended_blocking_time
  • mrp.workorder.blocking.reason.wizard · new modelinterruption_reason

Text generated by AI (DeepSeek) from reading the Odoo 18.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/manufacture.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Go to Manufacturing and create an Operation.
  • Check the case blocking stage on the Operation to use blocking time.
  • Set the time (in hours) to block the stage.

No verified information in OCA: Installation, Configuration.

info

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.