OdooWiki OCA HUB

MRP Warehouse Calendar

mrp_warehouse_calendar folder_open OCA/manufacture open_in_new
Manufacturing License: LGPL-3

This module ensures that manufacturing orders created from procurements respect the calendar assigned to the warehouse associated with the manufacturing order's picking type. The planned start date of the manufacturing order is calculated based on the product's manufacturing lead time and the working schedules defined in the warehouse calendar.

Additionally, any manual rescheduling of the start or end date of a manufacturing order will also take the lead time into account, following the working days defined by the warehouse calendar.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Manufacturing orders now follow the working calendar of the warehouse, so planned start and finish dates are calculated on working days only, based on the product's manufacturing lead time.

This module makes manufacturing scheduling respect the warehouse calendar. When a manufacturing order is created automatically from a procurement (for example, to replenish stock), the planned start date is calculated backwards from the required date using the product's manufacturing lead time, counting only the working days defined in the warehouse calendar.

On the manufacturing order itself, the planned finish date is recalculated from the start date plus the manufacturing lead time, again skipping non-working days. The same recalculation happens when a manufacturing order is duplicated, so the copy gets a realistic finish date.

  • The warehouse used is the one linked to the operation type of the manufacturing order.
  • If the warehouse has no calendar, or the product has no manufacturing lead time, dates are left as Odoo normally computes them.
  • When the finish date is recalculated, the dates of the finished-product moves are updated to match.

It touches mrp.production (manufacturing orders) and stock.rule (the rules that trigger manufacturing). There are no new menus or screens; the change is visible in the planned start and finish dates shown on manufacturing orders.

Models and fields (2)
  • stock.rule · extends an existing model
  • mrp.production · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • This module depends on stock_warehouse_calendar
  • Go to Settings and activate the developer mode.
  • Go to Settings \> Technical \> Resource \> Working Schedules and define your resource calendar.
  • Go to Inventory \> Configuration \> Warehouse Management \> Warehouses and assign the Working Schedule.

When a manufacturing order is created out of a procurement evaluation (from an orderpoint, MTO,...) the calendar is considered in the computation of the planned start date of the manufacturing order.

For example, if it takes 1 day to manufacture a product and it is required for Monday:

the manufacturing order will be created with planned start date on the previous Friday, if the warehouse operates under a Mo-Fri working calendar.

Manual changes to the start or end date of a manufacturing order will also respect the lead time and the warehouse calendar's working days.

No verified information in OCA: Installation.

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.