OdooWiki OCA HUB

Scheduler assignation horizon

stock_scheduler_assignation_horizon folder_open OCA/stock-logistics-workflow open_in_new
Inventory License: AGPL-3

This module allows to set a time horizon that will prevent the scheduler from marking stock pickings as ready before the indicated number of days (horizon).

This behavior can be enabled globally via settings or for each company separately.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you set a number of days (a horizon) so the delivery scheduler only reserves stock for moves scheduled within that timeframe, instead of reserving everything immediately.

This module adds a 'Shipping Scheduler' section to the Inventory settings screen. There you can turn on 'Use Assignation Limit' and enter an 'Assignation Horizon' in days. When enabled, the scheduler will only try to reserve stock for stock moves whose scheduled date falls within that number of days from today; moves planned further in the future are left unreserved until they enter the horizon.

  • The setting is stored globally and can be applied to all companies; the field help notes it is company-specific.
  • The horizon value cannot be negative: entering a negative number raises a validation error.
  • If the stored horizon value is not a valid number, the module logs a warning and falls back to 0 days.
  • The behaviour is controlled through configuration parameters and is off by default.

The module extends procurement.group to filter which moves the scheduler considers for reservation, and extends res.config.settings to expose the two settings fields. It touches the Inventory settings area and the stock reservation/scheduling logic. No new menus or reports are added.

Depends on

stock
Models and fields (2)
  • procurement.group · extends an existing model
  • res.config.settings · extends an existing modelstock_horizon_move_assignation (Use Assignation Limit), stock_horizon_move_assignation_limit (Assignation Horizon)

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

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 14.0
  • Go to Inventory > Operations > Reservation > Horizon Assignation.
  • Activate Scheduler Assignation Limit.
  • Select the desired Assignation Horizon (in days).

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.